-
Notifications
You must be signed in to change notification settings - Fork 193
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
Installing Jython 2.7.1 has issues installing pip on ARM #5
Comments
Simular for 2.7.0:
and
|
Sorry wrong button... |
I have the same problems with 2.7.0 and 2.7.1 as Juno72 mentioned. Is there any solution to this? |
Sorry its taken a while to get to this issue. I have reproduced this issue and can offer some advice. The error occurs from the Jython PosixModule where I'm not exactly sure what the error code However, this issue only seems to affect pip/setuptools Jython itself seems to work ok on the RPi so if you exclude pip/setuptools from the install it works e.g.
But this is not a solution so this needs further investigation. (Also something strange happens with the install progress in this case!) |
I can confirm that jython itself is working fine if you don't install pip/setuptools and I haven't experienced this problem with x86 based systems. But I really appreciate that you look into that @jamesmudd. I am using jython with openhab and would love to have an easy way to use external modules for my various rules without needing to switch to a different hardware architecture. If there is anything I can help you with just tell me what I can do. I work in IT but am neither a professional software developer nor have I much experience with python so I didn't come far with debugging this issue yet |
Ok some progress on this issue. This occurs because on ARM the error returned when I directory already exists it wrong e.g
Where as on ARM
So errno 20000 is returned when errno 17 should be. Thankfully in the time since the 2.7.1 release the JNR and JFFI people have been working to fix ARM support so by updating to the newest versions of these libraries it appears the ARM support is fixed. Here is a link to an installer built with updated JNR and JFFI libraries on my RPi it appears to install fully and pip works. Give it a try. I will sort out getting a that merged before the 2.7.2 release. |
Updates: - jnr-ffi 2.1.7 → 2.1.9 - jnr-posix 3.0.44 → 3.0.49 - jnr-constants 0.9.9 → 0.9.12 - jffi 1.2.15 → 1.2.18 This also updates the ARM stub for a newer one this was recently updated to improve ARM hard float support and is needed to fix this bug. See jnr/jffi@c29326d
Updates: - jnr-ffi 2.1.7 → 2.1.9 - jnr-posix 3.0.44 → 3.0.49 - jnr-constants 0.9.9 → 0.9.12 - jffi 1.2.15 → 1.2.18 This also updates the ARM stub for a newer one this was recently updated to improve ARM hard float support and is needed to fix this bug. See jnr/jffi@c29326d
Raised as jythontools/jython issue 108 |
Installing 2.7.1 on rasbian results in error on setuptools.
I initially installed using sudo java ...
Subsequently changed /usr/share/jython owner and group to current user and ran without sudo:
Also
The text was updated successfully, but these errors were encountered: