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

时间: 2024-10-13 15:53:15

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

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

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

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' 报错问题

再安装包的时候提示 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

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 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下C extension not loaded for Word2Vec, training will be slow.解决方法

在网上看了好多个博客,都没有很好解决,最后google.. 大概问题就是gensim库在安装时没有和其他一些包关联起来(可能是由于用pip安装的gensim导致这个问题),所以在用Word2Vec时没法加速,训练很慢(好像要好几个小时) 解决方法: conda install mingw libpython pip uninsall scipy conda install scipy pip uninstall gensim conda install gensim 记住卸载包后重装一定要用co

windows下PHP中Fatal error Call to undefined function curl_init()的解决方法

参考官方解决方法:http://nz.php.net/manual/en/curl.installation.php 1.php安装目录下的ext文件夹下面是否有php_curl.dll文件,然后右键->属性->详细信息,查看版本号是否和PHP版本一致:2.php.ini文件;extension=php_curl.dll前面的";"去掉如果以上方法还不行的话,请继续往下:3.(如果是windows32位系统)复制 php_curl.dll, ssleay32.dll, li