zoukankan      html  css  js  c++  java
  • You are using pip version 10.0.1, however version 20.2.2 is available.

    在pycharm中出现如下错误

    [root@Huawei ~/python]# pip3 install subprocess
    Looking in indexes: http://mirrors.cloud.aliyuncs.com/pypi/simple/
    Collecting subprocess
      Could not find a version that satisfies the requirement subprocess (from versions: )
    No matching distribution found for subprocess
    You are using pip version 10.0.1, however version 20.2.2 is available.
    You should consider upgrading via the 'pip install --upgrade pip' command.

    可见错误的大致意思为pip版本过低,建议升级新版本

    有建议执行的语句,但是未能成功解决

    最终解决方法如下

    [root@Huawei ~/python]# python3 -m pip install -U pip
    Looking in indexes: http://mirrors.cloud.aliyuncs.com/pypi/simple/
    Collecting pip
      Downloading http://mirrors.cloud.aliyuncs.com/pypi/packages/5a/4a/39400ff9b36e719bdf8f31c99fe1fa7842a42fa77432e584f707a5080063/pip-20.2.2-py2.py3-none-any.whl (1.5MB)
        100% |████████████████████████████████| 1.5MB 91.0MB/s 
    Installing collected packages: pip
      Found existing installation: pip 10.0.1
        Uninstalling pip-10.0.1:
          Successfully uninstalled pip-10.0.1
    Successfully installed pip-20.2.2

    pip3升级完成

    [root@Huawei ~/python]# pip3 -V
    pip 20.2.2 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)

    下载模块畅通无阻 amazing~~~

  • 相关阅读:
    python自动化运维-编写rsync+sersync安装脚本实现文件实时同步
    引力产生的原因是什么
    Binder通信机制介绍
    Binder机制
    MySQL for Windows 解压缩版配置安装
    python 操作sqlite数据库
    python 生成验证码
    python 多线程
    python multiprocessing 多进程
    python @property 属性
  • 原文地址:https://www.cnblogs.com/security-guard/p/13529508.html
Copyright © 2011-2022 走看看