Open
Description
I'm writing down the issue so that it is easy to find by the users.
At the moment, for PyJulia to load Julia >= 0.7, two conditions have to be met:
-
Python interpreter configured for PyCall.jl and Python interpreter used to import PyJulia have to use identical
libpython
(once Support virtualenv/venv without separate cacheย #190 is merged)have exactly identical paths. -
The Python interpreter have to be dynamically linked (which is usually the case in Windows and macOS according to this comment)
To check if condition 2 is the case, run:
$ ldd /usr/bin/python | grep libpython
libpython3.7m.so.1.0 => /usr/lib/libpython3.7m.so.1.0 (0x00007f17c12c4000)
where /usr/bin/python
is the appropriate Python interpreter.
If it does not print anything, you can't use PyJulia with this Python interpreter.
Metadata
Metadata
Assignees
Labels
No labels