![](/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.