You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
setup.py uses pip as a module, which is not how pip wants to be used so they changed the internal API to force people to use pip correctly. pypa/pip#5154 (comment)
$ ./var/bin/pip --version
pip 19.0.2 from /tmp/git-repo/var/lib/python3.5/site-packages/pip (python 3.5)
$ ./var/bin/pip install -r requirements-test.txt
Obtaining file:///tmp/git-repo (from -r requirements-test.txt (line 2))
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/git-repo/setup.py", line 169, in <module>
install_requires=requirements(),
File "/tmp/git-repo/setup.py", line 125, in requirements
requirements = pip.req.parse_requirements(
AttributeError: module 'pip' has no attribute 'req'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/git-repo/
The text was updated successfully, but these errors were encountered:
setup.py uses pip as a module, which is not how pip wants to be used so they changed the internal API to force people to use pip correctly.
pypa/pip#5154 (comment)
The text was updated successfully, but these errors were encountered: