0
点赞
收藏
分享

微信扫一扫

conda环境下更新pip失败


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 条评论