knightliao/pfrock

PyPI installation failure

jayvdb opened this issue · 5 comments

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 ?

Python version must be 2.7.X

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

my version

pip 9.0.3
python 2.7.8

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.

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