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 failed because urllib3 setup failed #45

Open
JennyLeahy opened this issue Jul 18, 2019 · 1 comment
Open

Installation failed because urllib3 setup failed #45

JennyLeahy opened this issue Jul 18, 2019 · 1 comment

Comments

@JennyLeahy
Copy link

JennyLeahy commented Jul 18, 2019

python setup.py install failed because urllib3 failed. The error message is:

Searching for urllib3<1.26,>=1.20
Reading https://pypi.python.org/simple/urllib3/
Best match: urllib3 1.25.3
Downloading https://files.pythonhosted.org/packages/4c/13/2386233f7ee40aa8444b47f7463338f3cbdf00c316627558784e3f542f07/urllib3-1.25.3.tar.gz#sha256=dbe59173209418ae49d485b87d1681aefa36252ee85884c31346debd19463232
Processing urllib3-1.25.3.tar.gz
Writing /var/folders/kh/60500gcx7pb0qymlrb05fjlh0000gp/T/easy_install-alupQF/urllib3-1.25.3/setup.cfg
Running urllib3-1.25.3/setup.py -q bdist_egg --dist-dir /var/folders/kh/60500gcx7pb0qymlrb05fjlh0000gp/T/easy_install-alupQF/urllib3-1.25.3/egg-dist-tmp-0ZSEUl
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
error: Setup script exited with error in urllib3 setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.

Env: macOS Mojave 10.14.5
Python 2.7.10 (system default)

@jim-mccumber
Copy link

Ran into the same version dependency issue for urllib3.
pkg_resources.DistributionNotFound: The 'urllib3<1.26,>=1.20' distribution was not found and is required by botocore

Tried upgrading urllib3 but it's already up to date
Requirement already up-to-date: urllib3 in /Users/jim-mccumber/.pyenv/versions/3.7.3/lib/python3.7/site-packages (1.25.3)

Env: macOs Mojave 10.14.6
Python 3.7.3

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