PyPI installation failure
jayvdb opened this issue · 5 comments
jayvdb commented
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 commented
Python version must be 2.7.X
jayvdb commented
This is about the pip
version, not the Python version.
knightliao commented
my version
pip 9.0.3
python 2.7.8
jayvdb commented
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 commented
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