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

Installation issue with pip 10 #18

Open
DavidMenting opened this issue May 29, 2019 · 1 comment
Open

Installation issue with pip 10 #18

DavidMenting opened this issue May 29, 2019 · 1 comment

Comments

@DavidMenting
Copy link

Installing the app with pip 10 fails:
ERROR: Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/frappe/frappe-bench/apps/erpnext_foxycart_integration/setup.py", line 3, in <module> from pip.req import parse_requirements ImportError: No module named req

A fix is easy, as seen at https://stackoverflow.com/questions/25192794/no-module-named-pip-req . Changing the line to the following fixes the problem:

try: # for pip >= 10 from pip._internal.req import parse_requirements except ImportError: # for pip <= 9.0.3 from pip.req import parse_requirements

I can create a pull request for this.

@Alchez
Copy link

Alchez commented May 29, 2019

Hey @DavidMenting, we actually are not maintaining this repo any longer, but feel free to make a PR :).

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

2 participants