Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

Fix pip exception "ModuleNotFoundError: No module named 'pip.req'" #35

Closed
wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jun 27, 2019

This pull request fixes the following 'pip install' issue:

ERROR: Complete output from command python setup.py egg_info:
ERROR: Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-req-build-b1gvwxaf/setup.py", line 4, in <module>
    from pip.req import parse_requirements
ModuleNotFoundError: No module named 'pip.req'
----------------------------------------

ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-b1gvwxaf/

This commit fixes the following 'pip install' issue:
```
ERROR: Complete output from command python setup.py egg_info:
ERROR: Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-req-build-b1gvwxaf/setup.py", line 4, in <module>
    from pip.req import parse_requirements
ModuleNotFoundError: No module named 'pip.req'
----------------------------------------

ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-b1gvwxaf/
```
@michaeldoddgit
Copy link

its been multiple years where this has been broken. multiple PRs have fixed it, can someone at Spotify please merge these fixes into the master?

This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant