Skip to content

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

Open

Description

@vishvas-chauhan

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

Activity

  1. gnodar01 commented on Sep 6, 2023

    @gnodar01
    Member

    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.

  2. vishvas-chauhan commented on Sep 6, 2023

    @vishvas-chauhan
    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

  3. gnodar01 commented on Sep 6, 2023

    @gnodar01
    Member

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

  4. Simonleedata commented on Mar 26, 2024

    @Simonleedata

    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?

  5. Simonleedata commented on Mar 26, 2024

    @Simonleedata

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions