使用pip出现报错:Could not find a version that satisfies the...No matching distribution distributio...
报错解决方法:
警告Ignoring invalid distribution -ip…,一般来说源都换成国内的了,pip版本也更新过了,还提示这两条错误信息:
ERROR: Could not find a version that satisfies the requirement *****(from versions: none)
ERROR: No matching distribution found for *****
试试下面个:
pip install 模块 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
Windows使用官方安装包安装python(不是应用商店安装的),pip配置文件位置在:
C:\Users\用户名\pip\pip.ini
此文件内容,比如:
[global]
timeout = 6000
index-url = http://pypi.douban.com/simple/
[install]
use-mirrors = true
mirrors = http://pypi.douban.com/simple/
trusted-host = pypi.douban.com
更改源可以直接改这个文件或者用以下命令:
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple #更改源
这是参考清华开源软件镜像站的pypi 镜像使用帮助的,原文是:
https://mirrors.tuna.tsinghua.edu.cn/help/pypi/
如果要临时使用某个源,要在后面加上参数-i:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package
pip卸载重装:
卸载PIP的命令:python -m pip uninstall pip
重装PIP的命令:easy_inatall pip
升级PIP的命令:python -m pip install --upgrade pip
参考博客园 https://www.cnblogs.com/burz/p/9099281.html
当然如果报错也没办法使用pip命令升级。
pip的环境变量一般在安装python时就自动设置好了,也是在path下,目标在python安装目录的Scripts下。
或选择重装的解决方式:
更换或卸载python(同时删除环境变量,删一下pip.exe文件,删除环境变量,因为重装可能会覆盖),重装,重新配置。
使用pip出现报错:Could not find a version that satisfies the...No matching distribution distributio...相关推荐
- pip/pip3 install 报错 “Could not find a version that satisfies the requriement xxx” 的解决方法
一.问题描述 pip/pip3 install 报错 "Could not find a version that satisfies the requriement xxx",如 ...
- pip安装包报错Could not find a version that satisfies the requirement pymysql (from versions: none)
使用python自带的pip安装包时,可能会报以下错误: ERROR: Could not find a version that satisfies the requirement pymysql ...
- 报错Could not find a version that satisfies the requirementAnaconda历史版本清华镜像
我在学习Opencv时下载的Anaconda是最新的3版本,它对应的python版本是3.8.5,当我执行pip install opencv的时候是报这样的错误,找不到对应版本. 你可以打开下面的网 ...
- python3 pip3 安装包报错 Could not find a version that satisfies the requirement 解决方法
现象: [root@e45b79f0cd70 Python-3.9.0]# pip3 install pycryptodome Looking in indexes: https://pypi.dou ...
- Python在使用pip安装某个库时报错 Could not find a version that satisfies the requirement numpy
问题描述:Python中在使用pip的下述命令安装第三方库numpy pip install -U numpy -i http://mirrors.aliyun.com/pypi/simple 出现警 ...
- pip list报错:DEPRECATION: The default format will switch to columns in the future.
pip list报错:DEPRECATION: The default format will switch to columns in the future. sudo gedit ~/.pip/p ...
- pip安装报错:'ascii'码不能解码,安装路径有中文
转载自:https://blog.csdn.net/u013948858/article/details/77800663 [python]pip安装报错UnicodeDecodeError: 'as ...
- python中升级pip报错_linux系统下pip升级报错的解决方法
Pip 安装 1.在python中提供了一个get-pip.py;下面是地址 https://bootstrap.pypa.io/get-pip.py 2.在Linux下执行curl https:// ...
- 已安装Anaconda情况下,命令行pip,python报错(详细 已解决)
已安装Anaconda情况下,命令行pip,python报错(已解决) 这是报错截图 解决方案如下: 1.首先可以去找到anaconda文件夹,并打开该文件目录下的Script文件夹,查看是否有pip ...
- Python——pip安装报错:is not a supported wheel on this platform
pip安装报错:is not a supported wheel on this platform 可能的原因1:安装的不是对应python版本的库,下载的库名中cp35代表python3.5,其它同 ...
最新文章
- IBM服务器raid5崩溃数据恢复方案及过程
- 基于deep learning的快速图像检索系统
- 用计算机语言编写的完成一定功能,C+的+预备知识.ppt
- 诸法无我-悉达多 乔达摩
- boost::sort模块实现使用不区分大小写的字符串键对结构进行排序的示例
- Unity Text 插入超链接
- 根据当前登录域账号 获取AD用户姓名和所在OU目录
- Virtual DOM 详解
- C++基础之布尔类型,什么是C++的布尔类型
- image 搜索docker_docker images命令-列出image
- 查找功能_苹果查找功能怎么查找另一台设备?很简单,只需这样操作
- C++中使用初始化列表比在构造函数中对成员变量赋值更高效
- 原来做浏览器这么简单
- 漆包线规格型号(漆包线外径)
- 子网掩码换算 - 在线工具
- win10系统文件拖拽卡顿_win10系统下移动鼠标卡顿如何解决
- 小飞升值记——(13)
- shell小脚本--网速监控
- Ubuntu下VSCode调试C++程序以及opencv库和Qt5库
- 用友 你侮辱了谁? --转自
热门文章
- java append函数_请详细说一下java中append()的方法.
- NCA:九岁的已经发起了 DDoS 攻击
- win10去掉快捷方式小箭头_桌面快捷方式小箭头去除与恢复方法
- 芯片尺寸越做越小,晶圆划片刀的选择至关重要
- leetcode LCP3 机器人大冒险(C++)
- Win10系统去掉桌面图标小箭头导致打开管理和任务栏处图标报错,且右键开始菜单无反应
- 彼岸花开开彼岸 奈何桥前可奈何 作者:天涯游子
- dubbo 报错 com.alibaba.com.caucho.hessian.io.Hessian2Output.writeObject(Hessian2Output.java:408)
- java星星闪烁代码_css3实现星星闪烁效果
- 使用SecureCRT登录本机cygwin【转】