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

make virtualenv results in "ModuleNotFoundError: No module named 'pip.req'" #28

Open
kylemantesso opened this issue Feb 28, 2021 · 2 comments

Comments

@kylemantesso
Copy link

Any idea why I get this error when i run make virtualenv?

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/Users/kylemantesso/dev/swagger-django-generator/ve/src/swagger-parser/setup.py", line 4, in <module>
        from pip.req import parse_requirements
    ModuleNotFoundError: No module named 'pip.req'
@SellamiRami
Copy link

Hello @kylemantesso
I'm facing the same issue as you. Could you please tell whether you find a solution for that?
Thank you in advance for your response.
Have a nice day,
Rami.

@cobusc
Copy link
Contributor

cobusc commented Jun 30, 2021

@SellamiRami can you try replacing the following line in requirements.txt

-e git+https://github.com/praekelt/swagger-parser@master#egg=swagger-parser

with

swagger-parser

Hopefully the upstream package have been updated and the fork is not necessary anymore. Please create PR if it works.

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

3 participants