解决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 permissions to install packages,也就是说我没有权限可以安装软件包等。。。我很难受。。。

4. 好了,现在需要先将权限赋予了才能执行下一步操作,按照提示给的命令输入:

conda create -n my_root --clone="C:\ProgramData\Anaconda3"

输入之后你会发现,需要激活my_root

activate my_root

5. 激活之后,就能输入我们一开始输进去报错的命令

conda install pip

一次升级可能还没有到我们能够正常更新的版本,因此命令执行完毕之后,要多执行几次,如果提示 All requested packages already installed.,无需再次更新,那么就ok了。

6. 另外,据网上资料所说,官网上有解决的方法,只需要输入:python -m pip install -U pip,我还没尝试过,上面的方法亲测有效。

下面截图是我已经解决了报错之后输入的官方给的命令,其实提示一样,已经更新了, 9.0.1-py36hadba87b_3 --> 19.2.3-py36_0

解决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.”

原文地址:https://www.cnblogs.com/xiaolan-Lin/p/11619435.html

时间: 2024-10-11 11:39:57

解决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.”的相关文章

解决'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.12而我按照要求运行python -m pip install --upgrade pip 后仍然无法成功升级,提示如下: (venv) D:\Fish>python -m

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 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

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

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

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 are using pip version 9.0.1, however version 9.0.3 is available. You should consider upgra

解决问题 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. 解决方法 直接运行命令:python -m pip install --upgrade pip 完美!!!成功解决!!! 原文地址:https://www.cnblogs.com/c

pip3 install --upgrade pip升级安装后无法使用的解决步骤

本机环境: Ubunt16.04: python2.7 + python3.6 笔者在使用pip3更新模块的时候,提示pip3的版本比较旧8.0.1,可以更新到最新版19.1.1,随手更新了之后就不能使用了,报No module named 'pip._internal'的错误, 网上找了一些方法仍然不行,几乎想重装系统了 网友方法一: 重新安装pip curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py sudo python3.7 g