本文介绍: 大多数是网络问题替换使用国内的镜像来源加速即可。按回车执行命令后,安装成功。

 

使用pip安装包提示报错如下:

ERROR: Could not find a version that satisfies the requirement <package> (from versions: none)
ERROR: No matching distribution found for <package&gt;

大多数是网络问题替换使用国内的镜像来源加速即可

打开cmd

输入 

pip install  <package&gt; -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

按回车执行命令后,安装成功。

例如:

 

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注