broamski / aws-mfa

Manage AWS MFA Security Credentials
MIT License
1.01k stars 163 forks source link

Installation failed because urllib3 setup failed #45

Open JennyLeahy opened 4 years ago

JennyLeahy commented 4 years ago

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 commented 4 years ago

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