现象:

[root@e45b79f0cd70 Python-3.9.0]# pip3 install pycryptodome
Looking in indexes: https://pypi.douban.com/simple/
ERROR: Could not find a version that satisfies the requirement pycryptodome (from versions: none)
ERROR: No matching distribution found for pycryptodome
[root@e45b79f0cd70 Python-3.9.0]#

原因:pip3 镜像源问题 更换镜像源 ,当前使用的镜像源 https://pypi.douban.com/simple/ 更换为 https://pypi.mirrors.ustc.edu.cn/simple/

解决方法:

mkdir -p /$HOME/.pip/ && echo -e "[global]\nindex-url = https://pypi.mirrors.ustc.edu.cn/simple/\n" > /$HOME/.pip/pip.conf && pip3 install pycryptodome

执行输出如下:

[root@e45b79f0cd70 Python-3.9.0]# mkdir -p /$HOME/.pip/ && echo -e "[global]\nindex-url = https://pypi.mirrors.ustc.edu.cn/simple/\n" > /$HOME/.pip/pip.conf && pip3 install pycryptodome
Looking in indexes: https://pypi.mirrors.ustc.edu.cn/simple/
Collecting pycryptodomeDownloading https://mirrors.bfsu.edu.cn/pypi/web/packages/ad/16/9627ab0493894a11c68e46000dbcc82f578c8ff06bc2980dcd016aea9bd3/pycryptodome-3.10.1-cp35-abi3-manylinux2010_x86_64.whl (1.9 MB)|████████████████████████████████| 1.9 MB 1.4 MB/s
Installing collected packages: pycryptodome
Successfully installed pycryptodome-3.10.1
WARNING: You are using pip version 20.2.3; however, version 21.1.1 is available.
You should consider upgrading via the '/opt/python3/bin/python3.9 -m pip install --upgrade pip' command.
[root@e45b79f0cd70 Python-3.9.0]#

pip3 镜像源参考 :《python3 pip 更换国内 pypi 镜像 源》https://blog.csdn.net/whatday/article/details/105431658

python3 pip3 安装包报错 Could not find a version that satisfies the requirement 解决方法相关推荐

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

  2. python3.6安装包报错_win10安装python3.6的常见问题

    1.python下载 https://www.python.org/downloads/ 2.x和3.x版本都行吧,都可以下的.(然后安装的时候,记得勾选环境变量配置就行了,当然也可以自己配) 我下载 ...

  3. golang go get 命令行安装库 报错 go: cannot use path@version syntax in GOPATH mode 解决方法

    go mod作为官方的依赖管理工具,类似于maven这种本地缓存库的管理方式,其主要是通过GOPATH/pkg/mod下的缓存包来对工程进行构建. 问题: 执行go get github.com/go ...

  4. 打开Office安装包报错!提示“无法安装64位的office“的解决办法!

    一.故障现象 打开office安装程序时提示"无法安装64位版本的office,因为在您的PC上找到了以下32位程序" 二.原因分析 系统中已安装过32位的office程序,或者已 ...

  5. 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 出现警 ...

  6. Python pip install 安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法

    Python pip install 安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法 文章目录 ...

  7. Windows7下pip安装包报错 Microsoft Visual C++ 9 0 is required Unabl

    Windows7下pip安装包报错:Microsoft Visual C++ 9.0 is required Unable to find vcvarsall.bat 在Windows7x64下使用p ...

  8. pip安装包报错Error:-3 域名解析暂时失败

    pip安装包报错Error:-3 域名解析暂时失败' 解决: 检查虚拟机网络适配器

  9. 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",如 ...

最新文章

  1. 安卓gridview 网格,多行多列实现
  2. php 函数有命名空间吗_一篇弄懂PHP命名空间及use的使用
  3. 属于c语言高级参数的,c语言可变参数的取值
  4. maven 的安装配置 和编译java程序
  5. 龙果学院mysql分布式集群代码_龙果学院-MySQL大型分布式集群解决方案
  6. 知识图谱论文阅读(九)【转】推荐系统遇到知识图谱之MKR模型
  7. 优化算法笔记|飞蛾扑火优化算法理解及实现
  8. 2009-03-24 20:01 Matlab 7.0 添加BNT工具箱(转)
  9. windows 的一些快捷键
  10. Postgresql安装配置win版本
  11. linux命令、vi编辑器常用命令
  12. 一键修改QQ运动刷步助手 V3.0
  13. android 6.0 oem分区,android系统的分区结构
  14. 嵌入式系统串口解析二进制数_串口基本原理详解
  15. 购物网站的网站策划书
  16. 机器学习常用术语英语词汇
  17. win7计算机出现空白图标,win7任务栏右下角图标显示为空白如何解决_win7任务栏右下角图标空白怎么去掉...
  18. python-优矿-期权合成期货策略
  19. 精益看板方法从理论到实战 (6)—— 控制在制品数量(中)
  20. Java实习生常规技术面试题每日十题Java基础(八)

热门文章

  1. 计算机模型与体系架构的发展——从图灵机到云计算机1
  2. 架构师之路 — 分布式系统 — Protocol Buffers 序列化协议
  3. Busybox下的microcom用法
  4. Spring+SpringMVC+MyBatis整合教程
  5. 苹果Q1财报出炉:手机收入下滑15%,服务收入增长19%
  6. 如何将OpenCV中的Mat类绑定为OpenGL中的纹理
  7. 搜索suggest实现 动态的查询建议
  8. 九眼智能:信息安全是网络发展的关键
  9. 日本依靠储能系统解决光伏消纳问题
  10. jQuery 调用jsonp实现与原理