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

error installing nwb explorer using python 3.10 #302

Open
anhknguyen96 opened this issue Jun 5, 2022 · 6 comments
Open

error installing nwb explorer using python 3.10 #302

anhknguyen96 opened this issue Jun 5, 2022 · 6 comments
Labels
🐛 Bug Something isn't working dependencies Pull requests that update a dependency file PRIORITY: Medium

Comments

@anhknguyen96
Copy link
Contributor

Hi, I installed nwb explorer using python 3.10 and ran into this error (photos attached), but the installation worked in python 3.9 and 3.8. Compatibility issue?

python3-10-install-err
python3-10-install-err1

@sanjayankur31
Copy link
Collaborator

I think NWBE is currently limited to py3.7: https://github.com/MetaCell/nwb-explorer/blob/master/setup.py#L40

If it worked with 3.9, but not with 3.10, then we need to look into what's changed between the two versions and double-check if all our dependencies are py3.10 ready. This particular error is coming from pyecore, so the first step would be to check if that is py3.10 ready or not.

PS: would it be possible to paste errors as text please? Images can't be searched for text, and they're not accessible to visually impaired users that rely on screen readers and so on either.

@sanjayankur31 sanjayankur31 added 🐛 Bug Something isn't working dependencies Pull requests that update a dependency file labels Jun 6, 2022
@sanjayankur31
Copy link
Collaborator

pyecore is still limited to py3.9, so we can't quite use 3.10 yet even if we update to the latest version of pyecore:

https://github.com/pyecore/pyecore/blob/master/setup.py#L49

@filippomc
Copy link
Collaborator

While this gets fixed, I suggest to use a conda (or equivalent) virtual environment to control the Python version as indicated in the main README

@sanjayankur31
Copy link
Collaborator

Note: pyecore now supports python 3.10+. Tested with a new virtual environment here with python 3.11.3, and it installed fine using pip.

@susiefeng
Copy link

Hi! I have python3.7.16 in my env but I ran into the install error when running python utilities/install.py

below are error message:
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.
╰─> nwb-explorer

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Any advice? Thanks!

@filippomc
Copy link
Collaborator

Hi @susiefeng, the information provided is not sufficient to debug the issue, looks like it's related to the Python env.
I strongly recommend to use a virtual environment (I use miniconda), to start from a fresh python environment as indicated in the instructions in the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working dependencies Pull requests that update a dependency file PRIORITY: Medium
Projects
None yet
Development

No branches or pull requests

5 participants