错误:Script file 'D:\software_install\Anaconda_install\Scripts\pip-script.py' is not present.完美解决方法
文章目录:
1 错误原因分析
在进行其他库包安装的过程中,多pip
产生了破坏,直接导致pip不可用,虽然在安装目录依然可以找到pip.exe
的可执行程序,但是 依然不可用
错误信息如下:
Script file 'D:\software_install\Anaconda_install\Scripts\pip-script.py' is not present.
尝试解决:
网上给了很多方法,都是利用easy_install
工具(easy_install是老版本的python包管理工具
)进行pip的安装:
easy_install pip
但是我使用该方法又报错:
error: Couldn't find a setup script in C:\Users\zfxx_1\pip
2 最终的解决方法
1、去pypi官网下载pip.whl的库包文件
pipy官网地址:
https://pypi.org
2、下载pip的whl库包文件
pip的whl库包文件(
版本20.1.1
):下载地址
3、使用easy_install安装pip.whl文件
easy_install .\pip-20.1.1-py2.py3-none-any.whl
♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠