|
楼主 |
发表于 2020-4-29 15:28:23
|
显示全部楼层
C:\Users\Administrator>pip install MyLibrary
Collecting MyLibrary
Using cached mylibrary-0.0.6.zip (1.9 kB)
ERROR: Command errored out with exit status 1:
command: 'd:\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Administrator\\AppData\\Local\\Temp\\pip-install-5b5n8l_w\\MyLibrary\\setup.py'"'"'; __file__='"'"'C:\\Users\\Administrator\\AppData\\Local\\Temp\\pip-install-5b5n8l_w\\MyLibrary\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Administrator\AppData\Local\Temp\pip-install-5b5n8l_w\MyLibrary\pip-egg-info'
cwd: C:\Users\Administrator\AppData\Local\Temp\pip-install-5b5n8l_w\MyLibrary\
Complete output (8 lines):
Warning: 'keywords' should be a list, got type 'tuple'
running egg_info
creating C:\Users\Administrator\AppData\Local\Temp\pip-install-5b5n8l_w\MyLibrary\pip-egg-info\mylibrary.egg-info
writing C:\Users\Administrator\AppData\Local\Temp\pip-install-5b5n8l_w\MyLibrary\pip-egg-info\mylibrary.egg-info\PKG-INFO
writing dependency_links to C:\Users\Administrator\AppData\Local\Temp\pip-install-5b5n8l_w\MyLibrary\pip-egg-info\mylibrary.egg-info\dependency_links.txt
writing top-level names to C:\Users\Administrator\AppData\Local\Temp\pip-install-5b5n8l_w\MyLibrary\pip-egg-info\mylibrary.egg-info\top_level.txt
writing manifest file 'C:\Users\Administrator\AppData\Local\Temp\pip-install-5b5n8l_w\MyLibrary\pip-egg-info\mylibrary.egg-info\SOURCES.txt'
error: package directory 'src' does not exist
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. |
|