Python 它说我的笔记本电脑上安装了pip,但它不能下载其他模块
我试过在CMD上下载很多不同的模块,它们似乎一开始就安装好了,直到下载栏显示出来,但是keep失败了,出现了很多红色错误。我已经重新安装了几次python,并且已经检查了正确的python,pip可以正常工作。不在乎강상훈 那只是我的韩国名字 下面是一个错误示例Python 它说我的笔记本电脑上安装了pip,但它不能下载其他模块,python,pip,Python,Pip,我试过在CMD上下载很多不同的模块,它们似乎一开始就安装好了,直到下载栏显示出来,但是keep失败了,出现了很多红色错误。我已经重新安装了几次python,并且已经检查了正确的python,pip可以正常工作。不在乎강상훈 那只是我的韩国名字 下面是一个错误示例 C:\Users\강상훈>pip install pyinstaller Collecting pyinstaller Using cached pyinstaller-4.0.tar.gz (3.5 MB) Instal
C:\Users\강상훈>pip install pyinstaller
Collecting pyinstaller
Using cached pyinstaller-4.0.tar.gz (3.5 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\강상훈\appdata\local\programs\python\python37\python.exe' 'c:\users\강상훈\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\강상훈\AppData\Local\Temp\tmpqq61x1ww'
cwd: C:\Users\강상훈\AppData\Local\Temp\pip-install-o6lufvmx\pyinstaller
Complete output (38 lines):
running dist_info
creating C:\Users\강상훈\AppData\Local\Temp\pip-modern-metadata-ol2zzjvm\pyinstaller.egg-info
writing C:\Users\강상훈\AppData\Local\Temp\pip-modern-metadata-ol2zzjvm\pyinstaller.egg-info\PKG-INFO
writing dependency_links to C:\Users\강상훈\AppData\Local\Temp\pip-modern-metadata-ol2zzjvm\pyinstaller.egg-info\dependency_links.txt
writing entry points to C:\Users\강상훈\AppData\Local\Temp\pip-modern-metadata-ol2zzjvm\pyinstaller.egg-info\entry_points.txt
writing requirements to C:\Users\강상훈\AppData\Local\Temp\pip-modern-metadata-ol2zzjvm\pyinstaller.egg-info\requires.txt
writing top-level names to C:\Users\강상훈\AppData\Local\Temp\pip-modern-metadata-ol2zzjvm\pyinstaller.egg-info\top_level.txt
writing manifest file 'C:\Users\강상훈\AppData\Local\Temp\pip-modern-metadata-ol2zzjvm\pyinstaller.egg-info\SOURCES.txt'
reading manifest file 'C:\Users\강상훈\AppData\Local\Temp\pip-modern-metadata-ol2zzjvm\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 0xb0 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\강상훈\AppData\Local\Temp\pip-modern-metadata-ol2zzjvm\pyinstaller.egg-info\SOURCES.txt'
creating 'C:\Users\강상훈\AppData\Local\Temp\pip-modern-metadata-ol2zzjvm\pyinstaller.dist-info'
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\강상훈\appdata\local\programs\python\python37\python.exe' 'c:\users\강상훈\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\강상훈\AppData\Local\Temp\tmpqq61x1ww' Check the logs for full command output.
尝试安装
安装车轮
然后
pip安装pyinstaller尝试安装
安装车轮
然后
pip install pyinstaller我也遇到了同样的问题,如果您已经安装了控制盘,请尝试重新安装,它会有所帮助。还要确保您已安装
pip uninstall wheel
pip install wheel
pip install pyinstaller
我有同样的问题,如果你已经有车轮,尝试重新安装,这将有帮助。还要确保您已安装
pip uninstall wheel
pip install wheel
pip install pyinstaller
请正确格式化您的错误代码,以便我们可以读取它?谢谢。您需要安装wheel:pip install wheel请正确设置错误代码的格式,以便我们阅读?谢谢。您需要安装wheel:pip install wheel您不需要运行python setup.py bdist_wheel。不管怎样,setup.py从哪里来?@jakub是的,这是一个错误您不需要运行python setup.py bdist_wheel。setup.py从哪里来?@jakub是的,这是一个mistake@cbo我现在添加了代码。我认为这很明显。@cbo我现在添加了代码。我认为这是显而易见的。