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

PyPI installation failure #1

Closed
jayvdb opened this issue Apr 19, 2019 · 5 comments
Closed

PyPI installation failure #1

jayvdb opened this issue Apr 19, 2019 · 5 comments

Comments

@jayvdb
Copy link

jayvdb commented Apr 19, 2019

Traceback (most recent call last):
  File "setup.py", line 8, in <module>
    from pip.req import parse_requirements
ImportError: No module named req

Maybe use setup_requires and PyPI package pip-shims ?

@knightliao
Copy link
Owner

Python version must be 2.7.X

@jayvdb
Copy link
Author

jayvdb commented Aug 9, 2021

This is about the pip version, not the Python version.

@knightliao
Copy link
Owner

my version

pip 9.0.3
python 2.7.8

@jayvdb
Copy link
Author

jayvdb commented Aug 10, 2021

And the last version of pip supported on Python 2 is v20.

If you dont want to support pip v20, you could amend setup.py to declare a setup dependency on pip<10.

@knightliao
Copy link
Owner

change your pip version : sudo python -m pip install --upgrade pip==9.0.3
jasperproject/jasper-client#680

And I will add the checking declare to the file later

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