我正在使用 Windows 10,我摆脱了 python 3.8 并安装了 3.7 作为我系统上唯一的 python 版本。
现在尝试使用 pip 安装库时出现错误:
Fatal error in launcher: Unable to create process using '"c:\users\user\appdata\local\programs\python\python38-32\python.exe" "C:\Users\User\AppData\Local\Programs\Python\Python38-32\Scripts\pip.exe" install pygame_menu': The system cannot find the file specified.
当我检查控制台时,which -a pip我得到:
C:\Users\User>which -a pip
/cygdrive/c/Users/User/AppData/Local/Programs/Python/Python38-32/Scripts/pip
/cygdrive/c/Users/User/AppData/Local/Programs/Python/Python37/Scripts/pip
现在,当我在我的变量路径中寻找 Python 时,它没问题......无论如何我无法弄清楚如何更改 pip 的路径所以选择了正确的路径......除了它很奇怪我卸载了 python 和 pip multiple次,每次在安装过程中仍然出错。
慕村9548890
Cats萌萌
不负相思意
相关分类