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

ImportError: No module named 'requests.packages' #253

Closed
kin9-0rz opened this issue May 27, 2017 · 2 comments
Closed

ImportError: No module named 'requests.packages' #253

kin9-0rz opened this issue May 27, 2017 · 2 comments

Comments

@kin9-0rz
Copy link

It seems twine could not work in CentOS6.

$ twine upload dist/*
ImportError: No module named 'requests.packages'
$ pip install requests
Requirement already satisfied: requests in /usr/lib/python3.4/site-packages
Requirement already satisfied: urllib3<1.22,>=1.21.1 in /usr/lib/python3.4/site-packages (from requests)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.4/site-packages (from requests)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python3.4/site-packages (from requests)
Requirement already satisfied: idna<2.6,>=2.5 in /usr/lib/python3.4/site-packages (from requests)
@sigmavirus24
Copy link
Member

See also https://github.com/kennethreitz/requests/issues/4069. Requests broke backwards compatibility in a major way with 2.16.

@sigmavirus24
Copy link
Member

This should be fixed by #254 and Twine 1.9.1. Sorry for the blip in service.

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