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

stravalib==0.9 not compatible with pip>=10 #7

Open
daquinoaldo opened this issue Nov 7, 2018 · 1 comment
Open

stravalib==0.9 not compatible with pip>=10 #7

daquinoaldo opened this issue Nov 7, 2018 · 1 comment

Comments

@daquinoaldo
Copy link
Contributor

stravalib==0.9 contains in the setup file this import:
from pip.req import parse_requirements
But starting from pip >= 10 the module is called pip._internal.req instead of pip.req.

A (not recommended) workaround is to downgrade pip to v9 with python -m pip install pip==9.0.3.

The solution is to install (or update to the latest version) pip-tools.

More information on this Stack Overflow thread.

@daquinoaldo
Copy link
Contributor Author

The bug is resolved with the proposed pull request #6.

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

1 participant