[英]I get and error when I try to do pip install
每次我嘗試使用 pip 安裝命令安裝某些東西時,都會跳出一大堆錯誤,我遇到這個問題已經有一段時間了,我已經嘗試搜索解決方案但它們沒有用。 現在我在這里尋求幫助:)
這是我執行命令時顯示的紅色文本
ERROR: Command errored out with exit status 1:
command: 'c:\users\kevin løfgren\appdata\local\programs\python\python38-32\python.exe' 'c:\users\kevin løfgren\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\KEVINL~1\AppData\Local\Temp\tmpi743067b'
cwd: C:\Users\Kevin Løfgren\AppData\Local\Temp\pip-install-wli5xph4\pyinstaller_493a92d116a644ecb3d769ba9d19aa63
Complete output (38 lines):
running dist_info
creating C:\Users\Kevin Løfgren\AppData\Local\Temp\pip-modern-metadata-tr16djzk\pyinstaller.egg-info
writing C:\Users\Kevin Løfgren\AppData\Local\Temp\pip-modern-metadata-tr16djzk\pyinstaller.egg-info\PKG-INFO
writing dependency_links to C:\Users\Kevin Løfgren\AppData\Local\Temp\pip-modern-metadata-tr16djzk\pyinstaller.egg-info\dependency_links.txt
writing entry points to C:\Users\Kevin Løfgren\AppData\Local\Temp\pip-modern-metadata-tr16djzk\pyinstaller.egg-info\entry_points.txt
writing requirements to C:\Users\Kevin Løfgren\AppData\Local\Temp\pip-modern-metadata-tr16djzk\pyinstaller.egg-info\requires.txt
writing top-level names to C:\Users\Kevin Løfgren\AppData\Local\Temp\pip-modern-metadata-tr16djzk\pyinstaller.egg-info\top_level.txt
writing manifest file 'C:\Users\Kevin Løfgren\AppData\Local\Temp\pip-modern-metadata-tr16djzk\pyinstaller.egg-info\SOURCES.txt'
reading manifest file 'C:\Users\Kevin Løfgren\AppData\Local\Temp\pip-modern-metadata-tr16djzk\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 0xf8 in position 0: invalid start byte (sitecustomize.py, line 7)
warning: no files found matching 'pyinstaller-gui.py'
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'
warning: no previously-included files matching '*.py[co]' found anywhere in distribution
writing manifest file 'C:\Users\Kevin Løfgren\AppData\Local\Temp\pip-modern-metadata-tr16djzk\pyinstaller.egg-info\SOURCES.txt'
creating 'C:\Users\Kevin Løfgren\AppData\Local\Temp\pip-modern-metadata-tr16djzk\pyinstaller.dist-info'
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\kevin løfgren\appdata\local\programs\python\python38-32\python.exe' 'c:\users\kevin løfgren\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\KEVINL~1\AppData\Local\Temp\tmpi743067b' Check the logs for full command output.
似乎未檢測到wheel
package。
嘗試安裝它:
pip install wheel
我認為這可能是一個權限問題。 以管理員身份執行 Windows shell 並重試。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.