![](/img/trans.png)
[英]Python- Unable to install pip on windows-No matching distribution found for pip
[英]Windows pip install Flask reporting No matching distribution found for Flask
pip install Flask
Could not fetch URL https://pypi.org/simple/flask/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/flask/ (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1129)'))) - skipping
ERROR: Could not find a version that satisfies the requirement Flask (from versions: none)
ERROR: No matching distribution found for Flask
我嘗試了 python 3.10 和 3.9 版,都不起作用。
我已經設置了我的 http_proxy 和 https_proxy。
我嘗試了谷歌的多種解決方案。 它只是不起作用。 誰能幫我?
pip install --upgrade Flask
pip install Flask --proxy myproxy:port
pip --trusted-host=pypi.python.org --trusted-host=pypi.org --trusted-host=files.pythonhosted.org install Flask
reboot my computer
您可以嘗試python -m pip install flask
,如果它不起作用那么您應該嘗試python -m pip install --pre --upgrade Flask==2.0.2
或pip install Flask==2.0.2
。 您的互聯網連接也可能出現問題,因此請嘗試重置您的調制解調器。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.