-
Notifications
You must be signed in to change notification settings - Fork 62
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
Problems when building on MacOS, Python3 #111
Comments
I'd look at /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/include/jni.h |
@LeeKamentsky Thanks for the feedback. Is it possible to provide a more recent build? My main problem is the following error when trying to run the pip package on Mac:
|
Unfortunately, I don't have access to a Mac right now, so I can't build for it. |
@LeeKamentsky No problem, just tried with newer JDK and it did the trick! |
You might have to install the bleeding-edge work now. Having this used for my own project. This seemed to work since it has been fixed, not deployed on pip yet. |
Hey, When I try installing (
The currently installed Java Version is:
Do you have any tips on how to fix this? |
Hi @dschetel. Can you post the results of running the following from the command-line:
That should give us a hint whether the problem is with the java_home program or the Java libraries. |
Is Java 10 a problem? |
I think it won't work... ish. Javabridge will build using JDK 10 and run using JDK 8. The work-around is to define the environment variable, JAVA_HOME, to point to your miniconda-installed version of Java or to not install Java using Anaconda. |
I think I've reproduced the problem on Travis: It looks like Javabridge isn't finding the libraries on JDK 10 |
Thank you for your extensive help! I tried setting up a virtual environment, installing Java 8, setting the environment variable to the newly installed Java 8 and then to install Javabridge, but I still get error-messages.. |
small update:
When executing Python and importing numpy and javabridge i get the following error:
|
I think you might want to look at #136 |
When building using the following command:
pip install https://github.com/LeeKamentsky/python-javabridge/archive/master.zip
I get the errors below. Could you provide a new binary with all the MacOS/python3 fixes? Or any suggestions on how to get it built?
Thanks!
The text was updated successfully, but these errors were encountered: