pycharm基于人脸识别程序

跑的过程中出现的问题,能跑出来,但是添加文件步骤就出错,代码是从网上下载的

img

你可以看下你电脑文件夹有这些文件夹吗

  • 你可以看下这个问题的回答https://ask.csdn.net/questions/7721008
  • 这篇博客也不错, 你可以看下【Pycharm】自动生成文件注释和函数注释(真的解决问题,不是那些抄的)
  • 除此之外, 这篇博客: pycharm导包错误处理办法中的 翻译过来没什么用这个代码,于是从最开始的错误地方开始.代码如下 部分也许能够解决你的问题, 你可以仔细阅读以下内容或跳转源博客中阅读:
  • 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\

  • 您还可以看一下 郭宏志老师的玩转Pycharm课程中的 代码重构小节, 巩固相关知识点