|
本帖最后由 qiaofei828 于 2021-10-21 10:37 编辑
纯纯新手一个
windows系统下安装python3.10
安装homeassistant是老是自动卸载pip,然后报错,先是提示我现在版本是20..2.4让我升级20.3,我直接升级到了21.3。还是不行,然后手动安装20.3。继续安装错误代码如下,求大神指导
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.3
Uninstalling pip-20.3:
Successfully uninstalled pip-20.3
Rolling back uninstall of pip
Moving to c:\users\jorfei\appdata\roaming\python\python310\scripts\pip.exe
from C:\Users\Jorfei\AppData\Local\Temp\pip-uninstall-f5_9ntfy\pip.exe
Moving to c:\users\jorfei\appdata\roaming\python\python310\scripts\pip3.10.exe
from C:\Users\Jorfei\AppData\Local\Temp\pip-uninstall-f5_9ntfy\pip3.10.exe
Moving to c:\users\jorfei\appdata\roaming\python\python310\scripts\pip3.exe
from C:\Users\Jorfei\AppData\Local\Temp\pip-uninstall-f5_9ntfy\pip3.exe
Moving to c:\users\jorfei\appdata\roaming\python\python310\site-packages\pip-20.3.dist-info\
from C:\Users\Jorfei\AppData\Roaming\Python\Python310\site-packages\~ip-20.3.dist-info
Moving to c:\users\jorfei\appdata\roaming\python\python310\site-packages\pip\
from C:\Users\Jorfei\AppData\Roaming\Python\Python310\site-packages\~ip
ERROR: Exception:
Traceback (most recent call last):
File "C:\Users\Jorfei\AppData\Roaming\Python\Python310\site-packages\pip\_internal\cli\base_command.py", line 210, in _main
status = self.run(options, args)
File "C:\Users\Jorfei\AppData\Roaming\Python\Python310\site-packages\pip\_internal\cli\req_command.py", line 180, in wrapper
return func(self, options, args)
File "C:\Users\Jorfei\AppData\Roaming\Python\Python310\site-packages\pip\_internal\commands\install.py", line 392, in run
installed = install_given_reqs(
File "C:\Users\Jorfei\AppData\Roaming\Python\Python310\site-packages\pip\_internal\req\__init__.py", line 82, in install_given_reqs
requirement.install(
File "C:\Users\Jorfei\AppData\Roaming\Python\Python310\site-packages\pip\_internal\req\req_install.py", line 816, in install
install_wheel(
File "C:\Users\Jorfei\AppData\Roaming\Python\Python310\site-packages\pip\_internal\operations\install\wheel.py", line 837, in install_wheel
_install_wheel(
File "C:\Users\Jorfei\AppData\Roaming\Python\Python310\site-packages\pip\_internal\operations\install\wheel.py", line 747, in _install_wheel
generated_console_scripts = maker.make_multiple(scripts_to_generate)
File "C:\Users\Jorfei\AppData\Roaming\Python\Python310\site-packages\pip\_vendor\distlib\scripts.py", line 418, in make_multiple
filenames.extend(self.make(specification, options))
File "C:\Users\Jorfei\AppData\Roaming\Python\Python310\site-packages\pip\_internal\operations\install\wheel.py", line 483, in make
return super(PipScriptMaker, self).make(specification, options)
File "C:\Users\Jorfei\AppData\Roaming\Python\Python310\site-packages\pip\_vendor\distlib\scripts.py", line 407, in make
self._make_script(entry, filenames, options=options)
File "C:\Users\Jorfei\AppData\Roaming\Python\Python310\site-packages\pip\_vendor\distlib\scripts.py", line 307, in _make_script
self._write_script(scriptnames, shebang, script, filenames, ext)
File "C:\Users\Jorfei\AppData\Roaming\Python\Python310\site-packages\pip\_vendor\distlib\scripts.py", line 242, in _write_script
launcher = self._get_launcher('t')
File "C:\Users\Jorfei\AppData\Roaming\Python\Python310\site-packages\pip\_vendor\distlib\scripts.py", line 386, in _get_launcher
raise ValueError(msg)
ValueError: Unable to find resource t64.exe in package pip._vendor.distlib
WARNING: You are using pip version 20.3; however, version 21.3 is available.
You should consider upgrading via the 'c:\users\jorfei\appdata\local\programs\python\python310\python.exe -m pip install --upgrade pip' command.
|
|