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

zipp 3.16.0 requires python >= 3.8 #258

Open
ralphpeterson opened this issue Jul 10, 2023 · 0 comments
Open

zipp 3.16.0 requires python >= 3.8 #258

ralphpeterson opened this issue Jul 10, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ralphpeterson
Copy link

Hi all,

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant