求解,之前一直没问题的

img


这样什么意思?怎么处理,才能让pip能正常使用?!昨天还能正常使用的

img

该回答引用NewBing,仅供参考,不保证完全正确

根据我从网络上搜索到的信息,这个错误是由于pip.exe文件中存储的Python路径不正确或包含空格导致的¹²。有几种可能的解决办法:

  • 用十六进制编辑器或WordPad编辑pip.exe文件,将Python路径改为带引号和空格的形式,例如:#!"C:\Program Files (x86)\Python33\python.exe"¹。
  • 用python -m pip install XXX的命令代替pip install XXX¹²。
  • 删除原来的pip.exe文件,然后用python -m pip install -U pip重新安装pip³⁴。
  • 将Python安装在不包含空格的路径下,例如C:\Python33¹。

希望这些方法能对您有所帮助。如果您还有其他问题,欢迎继续与我交流。😊


源: 与必应的对话, 2023/7/18
(1) Pip - Fatal error in launcher: Unable to create process using. https://stackoverflow.com/questions/37220055/pip-fatal-error-in-launcher-unable-to-create-process-using.
(2) Fatal error in launcher: Unable to create process using ""C:\Program .... https://stackoverflow.com/questions/24627525/fatal-error-in-launcher-unable-to-create-process-using-c-program-files-x86.
(3) Fatal error in launcher: Unable to create process using '"c:\python .... https://blog.csdn.net/weixin_41931602/article/details/81194557.
(4) 解决cmd无法使用pip,报错“pip Fatal error in launcher: Unable to create process .... https://blog.csdn.net/weixin_43435990/article/details/109287177.
(5) Fatal error in launcher: Unable to create process using '""c:\program .... https://github.com/pypa/pip/issues/5292.

更新或者重装试试

我试了各种方法都没用,最后删了pip重下终于解决了😭😭😭,果然还是简单粗暴更好