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