Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning #383

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ Quick usage
-----------

```console
$ python3 -m pip install julia # install PyJulia
... # you may need `--user` after `install`
$ python3 -m pip install julia # install PyJulia
... # you may need `--user` after `install`

$ python3
>>> import julia
>>> julia.install() # install PyCall.jl etc.
>>> from julia import Base # short demo
>>> julia.install() # install PyCall.jl etc. only needed the first time
>>> from julia import Base # short demo
>>> # from julia.api import Julia # these two lines may be needed:
>>> # jl = Julia(compiled_modules=False)
>>> Base.sind(90)
1.0
```
Expand Down
5 changes: 3 additions & 2 deletions src/julia/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,9 @@ def __str__(self):
Julia executable `{}` cannot be found.

If you have installed Julia, make sure Julia executable is in the
system PATH. Alternatively, specify file path to the Julia executable
using `{}` keyword argument.
system PATH (not with ~/julia, a full PATH needed). It likely needs
to be 64-bit julia, and 32-bit julia snap will conflict. Alternatively,
specify file path to the Julia executable using `{}` keyword argument.

If you have not installed Julia, download Julia from
https://julialang.org/downloads/ and install it.
Expand Down