You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the following error trying to install MoSeq on a Windows machine via WSL2.
(moseq2-app) ~/moseq2-app$ ./scripts/install_moseq2_app.sh
Processing /home/ralphpeterson/moseq2-app
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [19 lines of output]
Traceback (most recent call last):
File "<string>", line 36, in <module>
File "<pip-setuptools-caller>", line 14, in <module>
File "/home/ralphpeterson/miniconda3/envs/moseq2-app/lib/python3.7/site-packages/setuptools/__init__.py", line 15, in <module>
import setuptools.version
File "/home/ralphpeterson/miniconda3/envs/moseq2-app/lib/python3.7/site-packages/setuptools/version.py", line 1, in <module>
from ._importlib import metadata
File "/home/ralphpeterson/miniconda3/envs/moseq2-app/lib/python3.7/site-packages/setuptools/_importlib.py", line 42, in <module>
disable_importlib_metadata_finder(metadata)
File "/home/ralphpeterson/miniconda3/envs/moseq2-app/lib/python3.7/site-packages/setuptools/_importlib.py", line 12, in disable_importlib_metadata_finder
import importlib_metadata
File "/home/ralphpeterson/miniconda3/envs/moseq2-app/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 6, in <module>
import zipp
File "/home/ralphpeterson/miniconda3/envs/moseq2-app/lib/python3.7/site-packages/zipp/__init__.py", line 10, in <module>
from .py310compat import text_encoding
File "/home/ralphpeterson/miniconda3/envs/moseq2-app/lib/python3.7/site-packages/zipp/py310compat.py", line 5
def _text_encoding(encoding, stacklevel=2, /):
^
SyntaxError: invalid syntax
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
It looks like the most recent zipp release requires python >= 3.8. Downgrading zipp (pip install zipp==3.15.0) fixed the issue.
Best,
Ralph
The text was updated successfully, but these errors were encountered:
Hi all,
I got the following error trying to install MoSeq on a Windows machine via WSL2.
It looks like the most recent zipp release requires python >= 3.8. Downgrading zipp (
pip install zipp==3.15.0
) fixed the issue.Best,
Ralph
The text was updated successfully, but these errors were encountered: