解决'python -m pip install --upgrade pip' 报错问题

再安装包的时候提示

You are using pip version 9.0.3, however version 10.0.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip‘ command.
1
2
而我按照要求运行python -m pip install --upgrade pip 后仍然无法成功升级,提示如下:

(venv) D:\Fish>python -m pip install --upgrade pip
Requirement already up-to-date: pip in d:\fish\venv\lib\site-packages (10.0.1)
1
2
于是按照要求将d:\fish\venv\lib\site-packages (10.0.1) 中的pip-10.0.1.dist-info删除,再次运行python -m pip install --upgrade pip 后升级成功,之前不能安装的包也能安装了!
————————————————
版权声明:本文为CSDN博主「cxs123678」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/cxs123678/article/details/80659273

解决'python -m pip install --upgrade pip' 报错问题

原文地址:https://www.cnblogs.com/telwanggs/p/12052920.html

时间: 2024-10-09 11:51:37

解决'python -m pip install --upgrade pip' 报错问题的相关文章

解决Python中出现的问题: “You are using pip version 9.0.1, however version 19.2.3 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.”

1. 一开始我在使用Pycharm时,导入numpy库,发现导入错误: Non-zero exit code (1) 2. 于是我通过更新的方法来解决,哪知道在更新的时候也出现了错误,错误如下图: 这个错误是在告诉我,我的版本低,需要升级更高的版本才能使用命令python -m pip install --upgrade pip 3. 输入: conda install pip 命令提示我又出现了错误,内容是You don't appear to have the necessary permi

windows下python -m pip install --upgrade pip升级后报错的解决方法

前言: 笔者装某库的时候提示需要升级pip版本,就python -m pip install --upgrade pip默认升级了,结果升级之后只要输入pip就有报错(如下图),网上百度了很多解决方法,才找到一个正解,接下来分享出来. 解决方法: 1.使用python -m ensurepip这个命令可以自动完成pip的修正2.以后使用pip的时候需要在前面加上python -m 原文地址:https://www.cnblogs.com/lucio1128/p/12036879.html

解决You are using pip version 9.0.1, however version 10.0.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

You are using pip version 9.0.1, however version 10.0.1 is available.You should consider upgrading via the 'python -m pip install --upgrade pip' command. 解决方法: 直接运行命令:python -m pip install --upgrade pip 解决You are using pip version 9.0.1, however vers

python -m pip install --upgrade pip升级失败

python -m pip install --upgrade pip升级失败 解决: 采用国内源: python -m pip install --upgrade pip -i https://pypi.douban.com/simple python -m pip install --upgrade pip -i  http://mirrors.aliyun.com/pypi/simple/ 原文地址:https://www.cnblogs.com/NirobertEinteson/p/12

python -m pip install --upgrade pip 升级不成功问题

1.使用命令出现 WARNING: You are using pip version 19.3.1; however, version 20.0.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. 2.问题解决,这是因为服务器连接超时,使用一下代码即可解决 python -m pip install --upgrade pip -i https:

you should consider upgrading via the 'python -m pip install --upgrade pip'

在安装python模块PyH时总是提示需要升级pip,于是按照提示输入: python -m pip install --upgrade pip 还是不行,有人说要用管理员权限执行cmd,结果还是失败, 最后使用 pip install --user --upgrade pip (ps:如果不成功可以先试下pip install --upgrade setuptools) 升级成功 看看pip版本 pip --version pip 9.0.1 from ---- 结果安装PyH时却提示么有找到

You are using pip version 9.0.1, however version 18.0 is available. You should consider upgrading via the 'pip install --upgrade pip' command.

实测使用pip3进行一些软件安装的时候,会弹出这个,记住不要理会,一旦你执行,就会升级pip,并冲突pip3造成pip3不能用,这时候就要重新安装一下python3 You are using pip version 9.0.1, however version 18.0 is available. You should consider upgrading via the 'pip install --upgrade pip' command. 原文地址:https://www.cnblogs

python pip install XXX出现报错问题

重装Anacondas后,将pip 和python.exe路径加入到环境变量后直接在cmd窗口进行pip 操作,报错如下 报错内容为: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.  pip操作是直接联网的,需要SSL端口加密连接到安装包网址,直接在CMD下运行自带是没有SSL的, 解决方法: 找到Anacondas Prompt,

pip 安装第三方库报错

最近重装电脑之后,用pip命令安装第三方库,结果报错如下 仔细观察之后,发现黄色字体提示当前pip版本过低,应用高版本的pip 在cmd中输入python -m pip install --upgrade pip 升级当前pip版本之后再重新使用命令行安装第三方库 原文地址:https://www.cnblogs.com/manaizhuang/p/9283648.html