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

pip3 install -r requirements.txt failed with python3.10 #139

Open
mazhenke opened this issue Mar 7, 2023 · 1 comment
Open

pip3 install -r requirements.txt failed with python3.10 #139

mazhenke opened this issue Mar 7, 2023 · 1 comment

Comments

@mazhenke
Copy link

mazhenke commented Mar 7, 2023

(musegan) mzk@DESKTOP-9LJNKOC:/mnt/e/Work/musegan/musegan$ pip3 install -r requirements.txt
Collecting setuptools==39.1.0
Using cached setuptools-39.1.0-py2.py3-none-any.whl (566 kB)
Collecting absl-py==0.4.1
Using cached absl-py-0.4.1.tar.gz (88 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-u5a2fwcu/absl-py_bada722486d343968df7b90865258df3/setup.py", line 33, in
raise RuntimeError('Python version 2.7 or 3.4+ is required.')
RuntimeError: Python version 2.7 or 3.4+ is required.
[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.

my python version:
3.10.9

@Qiangong2
Copy link

Qiangong2 commented Jul 1, 2023

You need to use Python 3.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants