跑的过程中出现的问题,能跑出来,但是添加文件步骤就出错,代码是从网上下载的
你可以看下你电脑文件夹有这些文件夹吗
Complete output from command python setup.py egg_info:
Download error on https://pypi.org/simple/setuptools_scm/: ssl.c:761: The handshake operation timed out – Some packages may not
be found!
Download error on https://pypi.org/simple/setuptools-scm/: The read operation timed out – Some packages may not be found!
Couldn’t find index page for ‘setuptools_scm’ (maybe misspelled?)
Download error on https://pypi.org/simple/: ssl.c:761: The handshake operation timed out – Some packages may not be found!
No local packages or working download links found for setuptools_scm
Traceback (most recent call last):
File “”, line 1, in
File “C:\Users\xxhaa\AppData\Local\Temp\pip-install-0eis_4zw\django-haystack\setup.py”, line 71, in
setup_requires=[‘setuptools_scm’],
File "C:\Users\xxhaa\Desktop\myproject\hhyqshop_36\lib\site-packages\setuptools-40.8.0-py3.6.egg\setuptools_init.py", line 1
44, in setup
File "C:\Users\xxhaa\Desktop\myproject\hhyqshop_36\lib\site-packages\setuptools-40.8.0-py3.6.egg\setuptools_init.py", line 1
39, in install_setup_requires
File “C:\Users\xxhaa\Desktop\myproject\hhyqshop_36\lib\site-packages\setuptools-40.8.0-py3.6.egg\setuptools\dist.py”, line 724,
in fetch_build_eggs
File "C:\Users\xxhaa\Desktop\myproject\hhyqshop_36\lib\site-packages\setuptools-40.8.0-py3.6.egg\pkg_resources_init.py", lin
e 782, in resolve
File “C:\Users\xxhaa\Desktop\myproject\hhyqshop_36\lib\site-packages\setuptools-40.8.0-py3.6.egg\pkg_resources_init_.py”, lin
e 1065, in best_match
File “C:\Users\xxhaa\Desktop\myproject\hhyqshop_36\lib\site-packages\setuptools-40.8.0-py3.6.egg\pkg_resources_init_.py”, lin
e 1077, in obtain
File “C:\Users\xxhaa\Desktop\myproject\hhyqshop_36\lib\site-packages\setuptools-40.8.0-py3.6.egg\setuptools\dist.py”, line 791,
in fetch_build_egg
File “C:\Users\xxhaa\Desktop\myproject\hhyqshop_36\lib\site-packages\setuptools-40.8.0-py3.6.egg\setuptools\command\easy_install
.py”, line 673, 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 C:\Users\xxhaa\AppData\Local\Temp\pip-install-0eis_4zw\django-haystack\