Pyinstaller 在我安装 Python 时出错
Pyinstaller gives an error when I install Python
当我尝试安装时收到以下错误消息。我应该怎么做才能解决这个问题?我能得到一些帮助吗?好久没上Python了,不太明白这些是什么意思
command: 'c:\users\appdata\local\programs\python\python37-32\python.exe' 'c:\users\appdata\local\programs\python\python37-32\lib\site-packages\pip_vendor\pep517_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\AppData\Local\Temp\tmp5hj8yy69'
cwd: C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller
Complete output (36 lines):
running dist_info
creating C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info
writing C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\PKG-INFO
writing dependency_links to C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\dependency_links.txt
writing entry points to C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\entry_points.txt
writing requirements to C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\requires.txt
writing top-level names to C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\top_level.txt
writing manifest file 'C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\SOURCES.txt'
reading manifest file 'C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.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 0xb9 in position 0: invalid start byte (sitecustomize.py, line 7)
no previously-included directories found matching 'bootloader\build'
no previously-included directories found matching 'bootloader.waf-'
no previously-included directories found matching 'bootloader.waf3-'
no previously-included directories found matching 'bootloader\waf-'
no previously-included directories found matching 'bootloader\waf3-'
no previously-included directories found matching 'bootloader_sdks'
no previously-included directories found matching 'bootloader.vagrant'
warning: no previously-included files found matching 'bootloader.lock-waf'
no previously-included directories found matching 'doc\source'
no previously-included directories found matching 'doc_build'
warning: no previously-included files matching '.tmp' found under directory 'doc'
warning: no files found matching 'news_template.rst'
no previously-included directories found matching 'news'
no previously-included directories found matching 'old'
no previously-included directories found matching 'scripts'
no previously-included directories found matching 'tests\scripts'
no previously-included directories found matching '.github'
warning: no previously-included files found matching '.'
warning: no previously-included files found matching '.yml'
warning: no previously-included files found matching '*~'
warning: no previously-included files found matching '.directory'
writing manifest file 'C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\SOURCES.txt'
creating 'C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.dist-info'
error: invalid command 'bdist_wheel'
---------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\appdata\local\programs\python\python37-32\python.exe' 'c:\users\appdata\local\programs\python\python37-32\lib\site-packages\pip_vendor\pep517_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\AppData\Local\Temp\tmp5hj8yy69' Check the logs for full command output.
Preparing wheel metadata ... error
重点是这句话,一个wheel文件丢失了。
$pip install wheel -i https://pypi.tuna.tsinghua.edu.cn/simple
也许在执行你之前的
之前尝试执行这句话
当我尝试安装时收到以下错误消息。我应该怎么做才能解决这个问题?我能得到一些帮助吗?好久没上Python了,不太明白这些是什么意思
command: 'c:\users\appdata\local\programs\python\python37-32\python.exe' 'c:\users\appdata\local\programs\python\python37-32\lib\site-packages\pip_vendor\pep517_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\AppData\Local\Temp\tmp5hj8yy69'
cwd: C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller
Complete output (36 lines):
running dist_info
creating C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info
writing C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\PKG-INFO
writing dependency_links to C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\dependency_links.txt
writing entry points to C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\entry_points.txt
writing requirements to C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\requires.txt
writing top-level names to C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\top_level.txt
writing manifest file 'C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\SOURCES.txt'
reading manifest file 'C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.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 0xb9 in position 0: invalid start byte (sitecustomize.py, line 7)
no previously-included directories found matching 'bootloader\build'
no previously-included directories found matching 'bootloader.waf-'
no previously-included directories found matching 'bootloader.waf3-'
no previously-included directories found matching 'bootloader\waf-'
no previously-included directories found matching 'bootloader\waf3-'
no previously-included directories found matching 'bootloader_sdks'
no previously-included directories found matching 'bootloader.vagrant'
warning: no previously-included files found matching 'bootloader.lock-waf'
no previously-included directories found matching 'doc\source'
no previously-included directories found matching 'doc_build'
warning: no previously-included files matching '.tmp' found under directory 'doc'
warning: no files found matching 'news_template.rst'
no previously-included directories found matching 'news'
no previously-included directories found matching 'old'
no previously-included directories found matching 'scripts'
no previously-included directories found matching 'tests\scripts'
no previously-included directories found matching '.github'
warning: no previously-included files found matching '.'
warning: no previously-included files found matching '.yml'
warning: no previously-included files found matching '*~'
warning: no previously-included files found matching '.directory'
writing manifest file 'C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\SOURCES.txt'
creating 'C:\Users\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.dist-info'
error: invalid command 'bdist_wheel'
---------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\appdata\local\programs\python\python37-32\python.exe' 'c:\users\appdata\local\programs\python\python37-32\lib\site-packages\pip_vendor\pep517_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\AppData\Local\Temp\tmp5hj8yy69' Check the logs for full command output.
Preparing wheel metadata ... error
重点是这句话,一个wheel文件丢失了。
$pip install wheel -i https://pypi.tuna.tsinghua.edu.cn/simple
也许在执行你之前的