首页 > 解决方案 > 启动器中的致命错误:无法使用 '"c:\program files\python37\python.exe" "C:\Program Files\Python37\Scripts\pip3.exe" ' 创建进程:

问题描述

我目前正在尝试在 python 中安装包管理器以进行一些自学学习。尝试在 Cmd 中运行 pip3 命令时,会出现错误。

Fatal error in launcher: Unable to create process using '"c:\program files\python37\python.exe"  "C:\Program Files\Python37\Scripts\pip3.exe" ': The system cannot find the file specified.

我相信这个问题是因为当我当前运行 3.9 时,它正在为 python 3.7 寻找那些文件。命令python -m pip -version工作正常,但它告诉我pip3.exe当前位于不同的文件路径中:

c:\users\justin moser\appdata\local\programs\python\python39\scripts\pip3.exe

我该如何解决这个问题?我尝试将以下内容添加到 Path 但它继续寻找/python/python37/scripts,但没有发现任何变化。有什么我想念的吗?

标签: cmdpackagefatal-error

解决方案


推荐阅读