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

pip install error python 3.7 and openjdk-12 #166

Open
ocuadrosl opened this issue Aug 6, 2019 · 4 comments
Open

pip install error python 3.7 and openjdk-12 #166

ocuadrosl opened this issue Aug 6, 2019 · 4 comments

Comments

@ocuadrosl
Copy link

Installing javabridge on Arch Linux getting the following error:


Collecting javabridge
Using cached https://files.pythonhosted.org/packages/a6/a0/c59bccabed99b1d4ac68166c59c679b375bfca75b78688b52c541b711578/javabridge-1.0.18.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-jakna1v0/javabridge/setup.py", line 402, in
ext_modules=ext_modules(),
File "/tmp/pip-install-jakna1v0/javabridge/setup.py", line 137, in ext_modules
library_dirs = [os.path.dirname(jvm_so)]
File "/usr/lib/python3.7/posixpath.py", line 156, in dirname
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-jakna1v0/javabridge/

Thank you

@LeeKamentsky
Copy link
Owner

What version of the Java SDK do you have? Is JAVA_HOME defined as an environment variable?

@ocuadrosl
Copy link
Author

Hi,

java-12-openjdk,
On arch Linux there is not JAVA_HOME variable, however, I set it, still, the installation fails.

Thank you

@LeeKamentsky
Copy link
Owner

I think the problem is most likely that we haven't added support (or yet tried) Open JDK verision 12. I'll see if I can find time to do an install with Open JDK 12 and see if I can get it to work.

@ocuadrosl
Copy link
Author

Thank you so much, I will install using another version of open JDK,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants