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

failed! pip install javabridge or python setup.py install (python version 3.11) #22

Open
vishvas-chauhan opened this issue Sep 6, 2023 · 5 comments

Comments

@vishvas-chauhan
Copy link

OSError: [Errno 66] Directory not empty: '/private/var/folders/n3/mp3zkg9x3gggwvp4gwd22fvm0000gn/T/pip-install-g3vz28yz/javabridge_b31f256aa97646a0b790c436b8b07c69/.eggs/Cython-3.0.2-py3.11-macosx-10.9-universal2.egg/Cython-3.0.2.dist-info' -> '/private/var/folders/n3/mp3zkg9x3gggwvp4gwd22fvm0000gn/T/pip-install-g3vz28yz/javabridge_b31f256aa97646a0b790c436b8b07c69/.eggs/Cython-3.0.2-py3.11-macosx-10.9-universal2.egg/EGG-INFO'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> javabridge

@gnodar01
Copy link

gnodar01 commented Sep 6, 2023

You may want to try downgrading Cython first. We've had a few issues after they changed major version to 3.

Run pip install "Cython<3.0.0" first, and then try again.

@vishvas-chauhan
Copy link
Author

I tried already ! then it started showing other files compatiablity issue.
like below
_javabridge.c:196:12: fatal error: 'longintrepr.h' file not found
#include "longintrepr.h"
^~~~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

@gnodar01
Copy link

gnodar01 commented Sep 6, 2023

Ah, okay. That's specific to python 3.11. We are currently supporting python 3.8 and 3.9.

@Simonleedata
Copy link

OSError: [Errno 66] Directory not empty: '/private/var/folders/n3/mp3zkg9x3gggwvp4gwd22fvm0000gn/T/pip-install-g3vz28yz/javabridge_b31f256aa97646a0b790c436b8b07c69/.eggs/Cython-3.0.2-py3.11-macosx-10.9-universal2.egg/Cython-3.0.2.dist-info' -> '/private/var/folders/n3/mp3zkg9x3gggwvp4gwd22fvm0000gn/T/pip-install-g3vz28yz/javabridge_b31f256aa97646a0b790c436b8b07c69/.eggs/Cython-3.0.2-py3.11-macosx-10.9-universal2.egg/EGG-INFO' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> javabridge

have you solved this problem?

@Simonleedata
Copy link

have you solved this problem?

Ah, okay. That's specific to python 3.11. We are currently supporting python 3.8 and 3.9.

have you solved this problem?

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

3 participants