From db12374d2a970a5ea41732ae1f6b7ba59a9daf15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1ll=20Haraldsson?= Date: Mon, 18 May 2020 15:23:37 +0000 Subject: [PATCH 1/2] Warning --- src/julia/core.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/julia/core.py b/src/julia/core.py index 02baff22..5c4dd297 100644 --- a/src/julia/core.py +++ b/src/julia/core.py @@ -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. From 6650f089f38ebf57b827eb88765f7344aca721de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1ll=20Haraldsson?= Date: Mon, 18 May 2020 15:31:46 +0000 Subject: [PATCH 2/2] Itiot-proof [skip ci] --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 864b2d82..34c543dc 100644 --- a/README.md +++ b/README.md @@ -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 ```