首页 > 编程语言 >python 中pip下载包报Fatal error in launcher错误

python 中pip下载包报Fatal error in launcher错误

时间:2023-02-10 14:57:09浏览次数:40  
标签:21.3 launcher 包报 python install pip Fatal

背景:

通常找python包的时候直接用下边这句话就可以了 不用每次到处找需要的包。

pip install math


问题:

但是今天使用的时候,出现下面这个问题:

Fatal error in launcher: Unable to create process using '"D:\pythonProject\User_CF\venv\Scripts\python.exe" "D:
\python\Scripts\pip.exe" install datatime': ???????????

 

解决方案:

 

系统重装后,包都是从别的电脑直接复制过开,可能是原先的包失效了,于是网上搜了一下,pip的错误可以通过这一命令来解决了

python -m pip install --upgrade pip

安装log:

Requirement already satisfied: pip in d:\python\lib\site-packages (21.3.1)
Collecting pip
Using cached pip-23.0-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 21.3.1
Uninstalling pip-21.3.1:
Successfully uninstalled pip-21.3.1
Successfully installed pip-23.0

解决。

 

转载至:https://blog.csdn.net/weixin_57415610/article/details/118660762

 

标签:21.3,launcher,包报,python,install,pip,Fatal
From: https://www.cnblogs.com/jiangsheng3/p/17108897.html

相关文章