每当我尝试安装 pip 时,我总是会收到此错误。请帮忙。我不知道如何解决这个问题,我尝试使用默认的 python 可执行文件使用修改方法来完成此操作,并且还尝试了 get-pip.py 文件方法,但没有任何效果。我也检查了我的路径变量,因此脚本文件夹在那里,但未安装 pip。
6 回答

翻翻过去那场雪
TA贡献2065条经验 获得超14个赞
我实际上遇到了类似的问题,并尝试了所有可能的解决方案,唯一对我有用的解决方案是卸载 python 并将其重新安装在 C 以外的不同分区中,它会起作用!

宝慕林4294392
TA贡献2021条经验 获得超8个赞
好吧,我尝试卸载这个新版本(3.9),然后安装旧版本(3.7),然后运行命令python get-pip.py
,神奇地它工作了。如果将来有人想解决这个问题,请尝试这个。我还阅读了 python 文档,显然如果你的 python 版本上没有安装 pip,他们有一个命令,所以python -m ensurepip
你也可以尝试一下。

杨__羊羊
TA贡献1943条经验 获得超7个赞
添加回答
举报
0/150
提交
取消