-
Notifications
You must be signed in to change notification settings - Fork 150
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
Runtime error loading numpy with python 3.6.4 #116
Comments
Thanks for the link to the anaconda issue, it is most definitely related. Starting in version 3.8(not yet released) we try to reload libpython with RTLD_GLOBAL for people who build python libraries without declaring dependencies. It would be helpful if you could check out the dev_3.8 branch and see if that resolves your issue. For the current version of jep the only workaround is to set the LD_PRELOAD environmental variable to the location of libpython, there is more information on this in the Linux section of the wiki. |
Thank you for following up. Tried
and now getting something similar but not about the math package
Did not yet try the 3.8 branch. So this Tried to see if something wrong with For me |
My same code seems to work fine with a fresh python 3.5 virtual env Should we conclude that 3.6 has improperly linked binaries ? Or my python env has some mixed up libraries ? Used and
Will close since does not seem to be an issue with |
… with a fresh 3.5 ninia/jep#116 (comment) Using these from the Intellij debug configuration ``` -Djava.library.path=/development/bin/python/conda3/envs/py35/lib/python3.5/site-packages/jep PYTHONHOME=/development/bin/python/conda3/envs/py35/ LD_PRELOAD=/development/bin/python/conda3/envs/py35/lib/libpython3.5m.so.1.0 ``` Also getting this but just a warning https://stackoverflow.com/a/47227886/4032515
same error |
I am using
ScalaPy
to loadNumpy
throughJep
and getting a linkage error.This other thing seemed related - "concession to people who want to embed Python we also provide a shared library." - but cannot tell for sure
ContinuumIO/anaconda-issues#6401 (comment)
My Python environment
Code to reproduce can be found here
SemanticBeeng/scalapy-tensorflow@e1922d3
Please be kind to advise
The text was updated successfully, but these errors were encountered: