Collecting main
Using cached main-0.1.tar.gz (1.1 kB)
Building wheels for collected packages: main
Building wheel for main (setup.py): started
Building wheel for main (setup.py): finished with status 'error'
Running setup.py clean for main
Failed to build main
Installing collected packages: main
Running setup.py install for main: started
Running setup.py install for main: finished with status 'error'
DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated. pip 20.3 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at https://github.com/pypa/pip/issues/8333.
ERROR: Command errored out with exit status 1:
command: 'C:\Program Files\Python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\krypt\\AppData\\Local\\Temp\\pycharm-packaging\\main\\setup.py'"'"'; __file__='"'"'C:\\Users\\krypt\\AppData\\Local\\Temp\\pycharm-packaging\\main\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\krypt\AppData\Local\Temp\pip-wheel-_hfinq7t'
cwd: C:\Users\krypt\AppData\Local\Temp\pycharm-packaging\main\
Complete output (6 lines):
running bdist_wheel
running build
running build_scripts
creating build
creating build\scripts-3.8
error: [Errno 2] No such file or directory: 'main'
----------------------------------------
ERROR: Failed building wheel for main
DEPRECATION: Could not build wheels for main which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368.
ERROR: Command errored out with exit status 1:
command: 'C:\Program Files\Python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\krypt\\AppData\\Local\\Temp\\pycharm-packaging\\main\\setup.py'"'"'; __file__='"'"'C:\\Users\\krypt\\AppData\\Local\\Temp\\pycharm-packaging\\main\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\krypt\AppData\Local\Temp\pip-record-5teuzsfy\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Program Files\Python38\Include\main'
cwd: C:\Users\krypt\AppData\Local\Temp\pycharm-packaging\main\
Complete output (6 lines):
running install
running build
running build_scripts
creating build
creating build\scripts-3.8
error: file 'C:\Users\krypt\AppData\Local\Temp\pycharm-packaging\main\main' does not exist
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Program Files\Python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\krypt\\AppData\\Local\\Temp\\pycharm-packaging\\main\\setup.py'"'"'; __file__='"'"'C:\\Users\\krypt\\AppData\\Local\\Temp\\pycharm-packaging\\main\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\krypt\AppData\Local\Temp\pip-record-5teuzsfy\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Program Files\Python38\Include\main' Check the logs for full command output.
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/10187.html
