Skip to content

Conversation

@aminvakil
Copy link

Updated versions of these packages also work as well.

Although installing requests==2.20.0 from pip breaks the system on CentOS 7.
I've faced this on installing certbot, as it installs python-urllib3==1.10.2 and latest version of urllib3 in pip packages is urllib3==1.25.4, it cannot remove the python-urllib3 package installed by CentOS, therefore requests break too.

I should've uninstall urllib3 and requests installed by pip using pip uninstall urllib3 requests and install python-urllib3==1.10.2 and python-requests==2.6.0 package from CentOS repo again.

Updated versions of these packages also work as well.
@aminvakil
Copy link
Author

I haven't tested this yet, but I assume installing pysocks and requests-oauthlib from CentOS repo breaks pip as well, therefore I think you should have the latest and most updated working version of packages in requirements.txt and the installer should deal with it himself if he has installed packages from OS repo.

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

Successfully merging this pull request may close these issues.

1 participant