![](/img/trans.png)
[英]Could not find a version that satisfies the requirement Flask (from versions: none)
[英]pip install not working — (ERROR: Could not find a version that satisfies the requirement Flask (from versions: none))
我正在尝试使用 pip 将模块下载到 python 并且它不起作用。
python 版本 - 3.9.2
pip 版本 - 20.2.3
windows 10(更新到最新补丁)
错误(同样的错误发生在 Flask、scapy 和 ipython):
计算机尝试访问 package 4 次均未成功:
WARNING: Retrying (Retry(total=0, 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/scapy/
然后这个错误弹出:
错误:找不到满足 scapy 要求的版本(来自版本:无)
错误:没有为 scapy 找到匹配的分布
I have tried using pip3, downloading through pycharm, updating python from 3.7.9 to 3.9.2 and I have checked that the path is added to the enviroment variable ( Path=C:\Program Files\Python39\Scripts\;C:\Program Files\Python39\;
{....})
我还能尝试什么? 提前致谢!
尝试这个
pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org <package_name>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.