cmd - 启动器中的致命错误:无法使用 '"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,但没有发现任何变化。有什么我想念的吗?
解决方案
推荐阅读
- vba - 如何将表单文本框中的值传递给子程序?
- google-maps - Flutter - 使用 StreamBuilder 为谷歌地图提供实时更新
- graph - Gnuplot 无法读取 .dat 文件
- python - Python:需要有关改进简单二十一点游戏代码的建议
- sql-server - 为什么 [PrtSc] 按钮在 Intellij-Idea 或 Microsoft SQL Server Management Studio 中不起作用?
- sequelize.js - 只有在所有模型更新后才续集保存项目
- rest - 如何使用系统管理员令牌(REST API)从“文件”选项卡获取用户的文件?
- python - 如何在 Pandas Dataframe 中拆分为几秒钟
- xctest - 在测试运行中多次实例化 XCTestCase 子类
- c# - 如何模拟对基本方法的调用?