pip安装报错ERROR: Could not find a version that satisfies the requirement pycryptodome (from versions: n

使用pip install × 报错

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/pycryptodome/
ERROR: Could not find a version that satisfies the requirement pycryptodome (from versions: none)
ERROR: No matching distribution found for pycryptodome

在这里插入图片描述

  • 原因:python国内网络不稳定,导致报错。
  • 解决办法:使用国内的安装源

命令:

pip install  ×  -i https://pypi.tuna.tsinghua.edu.cn/simple

pip安装报错ERROR: Could not find a version that satisfies the requirement pycryptodome (from versions: n_第1张图片

  • 清华大学
 https://pypi.tuna.tsinghua.edu.cn/simple
  • 中国科技大学
https://pypi.mirrors.ustc.edu.cn/simple/
  • 阿里云
http://mirrors.aliyun.com/pypi/simple/
  • 豆瓣
 http://pypi.douban.com/simple/

你可能感兴趣的:(pip,python,linux)