销钉未安装-“ python setup.py egg_info”失败,错误代码1

时间:2019-04-27 12:26:47

标签: python-3.x

我正在尝试为Spider安装钉子,但以下错误即将出现

ERROR: Complete output from command python setup.py egg_info:
ERROR: Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz
Traceback (most recent call last):
  File "/private/var/folders/vm/c9z5j3210zsffd6420jm_r740000gn/T/pip-install-0_sxwykk/pyls/setup_utils/distribute_setup.py", line 143, in use_setuptools
    raise ImportError
ImportError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/private/var/folders/vm/c9z5j3210zsffd6420jm_r740000gn/T/pip-install-0_sxwykk/pyls/setup.py", line 31, in <module>
    main()
  File "/private/var/folders/vm/c9z5j3210zsffd6420jm_r740000gn/T/pip-install-0_sxwykk/pyls/setup.py", line 11, in main
    distribute_setup.use_setuptools()
  File "/private/var/folders/vm/c9z5j3210zsffd6420jm_r740000gn/T/pip-install-0_sxwykk/pyls/setup_utils/distribute_setup.py", line 145, in use_setuptools
    return _do_download(version, download_base, to_dir, download_delay)
  File "/private/var/folders/vm/c9z5j3210zsffd6420jm_r740000gn/T/pip-install-0_sxwykk/pyls/setup_utils/distribute_setup.py", line 124, in _do_download
    to_dir, download_delay)
  File "/private/var/folders/vm/c9z5j3210zsffd6420jm_r740000gn/T/pip-install-0_sxwykk/pyls/setup_utils/distribute_setup.py", line 193, in download_setuptools
    src = urlopen(url)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: SSL is required
----------------------------------------

错误:命令“ python setup.py egg_info”失败,错误代码为/ private / var / folders / vm / c9z5j3210zsffd6420jm_r740000gn / T / pip-install-0_sxwykk / pyls /

0 个答案:

没有答案