【发布时间】:2020-10-04 01:07:39
【问题描述】:
您好,我目前正在尝试使用 pip 安装 pyautogui,但出现此错误:
ERROR: Command errored out with exit status 1:
command: 'c:\users\elève\appdata\local\programs\python\python38-32\python.exe' 'c:\users\elève\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\ELVE~1\AppData\Local\Temp\tmpo7dknhnd'
cwd: C:\Users\Elève\AppData\Local\Temp\pip-install-kccgkr83\pymsgbox
Complete output (14 lines):
running dist_info
creating C:\Users\Elève\AppData\Local\Temp\pip-modern-metadata-10ci4w8d\PyMsgBox.egg-info
writing C:\Users\Elève\AppData\Local\Temp\pip-modern-metadata-10ci4w8d\PyMsgBox.egg-info\PKG-INFO
writing dependency_links to C:\Users\Elève\AppData\Local\Temp\pip-modern-metadata-10ci4w8d\PyMsgBox.egg-info\dependency_links.txt
writing top-level names to C:\Users\Elève\AppData\Local\Temp\pip-modern-metadata-10ci4w8d\PyMsgBox.egg-info\top_level.txt
writing manifest file 'C:\Users\Elève\AppData\Local\Temp\pip-modern-metadata-10ci4w8d\PyMsgBox.egg-info\SOURCES.txt'
reading manifest file 'C:\Users\Elève\AppData\Local\Temp\pip-modern-metadata-10ci4w8d\PyMsgBox.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
Error in sitecustomize; set PYTHONVERBOSE for traceback:
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xe8 in position 0: unexpected end of data (sitecustomize.py, line 7)
warning: no files found matching '*.py' under directory 'pymsgbox'
writing manifest file 'C:\Users\Elève\AppData\Local\Temp\pip-modern-metadata-10ci4w8d\PyMsgBox.egg-info\SOURCES.txt'
creating 'C:\Users\Elève\AppData\Local\Temp\pip-modern-metadata-10ci4w8d\PyMsgBox.dist-info'
error: invalid command 'bdist_wheel'
ERROR: Command errored out with exit status 1: 'c:\users\elève\appdata\local\programs\python\python38-32\python.exe' 'c:\users\elève\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\ELVE~1\AppData\Local\Temp\tmpo7dknhnd' Check the logs for full command output.
我已经尝试更新 pip。
【问题讨论】:
标签: pip installation pyautogui