C:\Users\賾瀏>pip install pyinstaller
Collecting pyinstaller
Using cached PyInstaller-3.6.tar.gz (3.5 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: 'd:\python\python.exe' 'd:\python\lib\site-packages\pip\_vendor\pep517\_in_process.py' get_requires_for_build_wheel 'C:\Users\賾瀏\AppData\Local\Temp\tmpi5y0yktq'
cwd: C:\Users\賾瀏\AppData\Local\Temp\pip-install-ret4rlcx\pyinstaller
Complete output (12 lines):
Error in sitecustomize; set PYTHONVERBOSE for traceback:
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xd8 in position 0: invalid continuation byte (sitecustomize.py, line 21)
Traceback (most recent call last):
File "d:\python\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 257, in <module>
main()
File "d:\python\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 240, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "d:\python\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 85, in get_requires_for_build_wheel
backend = _build_backend()
File "d:\python\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 76, in _build_backend
obj = getattr(obj, path_part)
AttributeError: module 'setuptools.build_meta' has no attribute '__legacy__'
----------------------------------------
ERROR: Command errored out with exit status 1: 'd:\python\python.exe' 'd:\python\lib\site-packages\pip\_vendor\pep517\_in_process.py' get_requires_for_build_wheel 'C:\Users\賾瀏\AppData\Local\Temp\tmpi5y0yktq' Check the logs for full command output.
uj5u.com熱心網友回復:
安裝鏡像源,然后在cmd中輸入pip install xx
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/78148.html
下一篇:微信小程式自動回復無法識別?
