conda环境下更新pip失败

阅读 75

2022-03-30


conda环境下更新pip失败,出现以下问题:

1.​ Script file ‘D:\Anaconda\Anaconda3\Scripts\pip-script.py’ is not present.

在使用网上的正常方法如:easy_install pip等方法后依旧出现以下问题:

1.​ The easy_install command is deprecated and will be removed in a future version.

2.​ D:\Anaconda\Anaconda3\python.exe: No module named pip.​main​; ‘pip’ is a package and cannot be directly executed

在conda环境下输入以下命令即可解决:

1.​ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

2.​ python get-pip.py --force-reinstall



精彩评论(0)

0 0 举报