This repository was archived by the owner on May 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
This repository was archived by the owner on May 30, 2020. It is now read-only.
"setuptools_scm" could not be found #322
Copy link
Copy link
Closed
Description
Originally reported by: ali raza (Bitbucket: alirz, GitHub: alirz)
Collecting tmdb3 (from flexget)
Downloading tmdb3-0.7.2.tar.gz
Collecting path.py (from flexget)
Downloading path.py-7.6.tar.gz
Complete output from command python setup.py egg_info:
Download error on https://pypi.python.org/simple/setuptools_scm/: [SSL: CERTIFICATE_VERIFY_FAILED] unknown error (_ssl.c:590) -- Some packages may not be found!
Download error on https://pypi.python.org/simple/setuptools-scm/: [SSL: CERTIFICATE_VERIFY_FAILED] unknown error (_ssl.c:590) -- Some packages may not be found!
Couldn't find index page for 'setuptools_scm' (maybe misspelled?)
Download error on https://pypi.python.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] unknown error (_ssl.c:590) -- Some packages may not be found!
No local packages or download links found for setuptools-scm
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/tmp/pip-build-VwgXX3/path.py/setup.py", line 49, in <module>
setuptools.setup(**setup_params)
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/site-packages/setuptools-18.0.1-py2.7.egg/setuptools/dist.py", line 267, in __init__
File "/usr/lib/python2.7/site-packages/setuptools-18.0.1-py2.7.egg/setuptools/dist.py", line 312, in fetch_build_eggs
File "/usr/lib/python2.7/site-packages/setuptools-18.0.1-py2.7.egg/pkg_resources/__init__.py", line 836, in resolve
File "/usr/lib/python2.7/site-packages/setuptools-18.0.1-py2.7.egg/pkg_resources/__init__.py", line 1081, in best_match
File "/usr/lib/python2.7/site-packages/setuptools-18.0.1-py2.7.egg/pkg_resources/__init__.py", line 1093, in obtain
File "/usr/lib/python2.7/site-packages/setuptools-18.0.1-py2.7.egg/setuptools/dist.py", line 378, in fetch_build_egg
File "/usr/lib/python2.7/site-packages/setuptools-18.0.1-py2.7.egg/setuptools/command/easy_install.py", line 623, in easy_install
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('setuptools-scm')
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-VwgXX3/path.py
- Bitbucket: https://bitbucket.org/pypa/pypi/issue/322
Activity
ewdurbin commentedon Sep 7, 2015
Original comment by Patrick Kimber (Bitbucket: pkimber, GitHub: pkimber):
I did
pip install setuptools_scm
and it solved the problem.ulope commentedon Jun 28, 2016
This bug also occurs when trying to install for example
pdbpp
.As in the original report manually installing
setuptools-scm
fixes the problem.It's however not reproducible with pip 8.1.1
So this looks like it's probably not PyPI's problem but instead another fallout from pip 8.1.2's package name normalization.
exhuma commentedon Aug 25, 2016
I have run into the same issue when installing both
pytest-xdist
and can confirm that manually installingsetuptools-scm
first solves it.My environment:
bbs-pylon.ipsw.dt.ept.lu
(see TB below)Steps to reproduce:
pyvenv-3.4 env
./env/bin/pip install pytest-xdist
Solved by using the following sequence:
pyvenv-3.4 env
./env/bin/pip install setuptools-scm
./env/bin/pip install pytest-xdist
dstufft commentedon Aug 25, 2016
Looks like you have some sort of proxy between you and PyPI that's preventing download.
wsanchez commentedon Nov 16, 2016
I'm running into a similar problem with Python 3.6 on OS X:
wsanchez commentedon Nov 16, 2016
This works with Python 3.5, but not with 3.6, both from the python.org installers.
I don't think there are any proxies in play.
dstufft commentedon Nov 16, 2016
Does anything change if you install certifi?
Sent from my iPhone
wsanchez commentedon Nov 16, 2016
Yes, that works…
wsanchez commentedon Nov 16, 2016
Looks like it's not enough to install it system-wide; needs to be in the venv, FWIW.
dstufft commentedon Nov 16, 2016
Did 3.5 link against system OpenSSL and 3.6 link against a bundled copy?
Sent from my iPhone
wsanchez commentedon Nov 16, 2016
Correct
16 remaining items