pip ERROR: Could not find a version that satisfies the requirement loguru (from versions: none)

Posted 流星蝴蝶没有剑

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了pip ERROR: Could not find a version that satisfies the requirement loguru (from versions: none)相关的知识,希望对你有一定的参考价值。

pip 安装报错

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Looking in indexes: https://pypi.org/project/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)’: /project/loguru/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)’: /project/loguru/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)’: /project/loguru/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)’: /project/loguru/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)’: /project/loguru/
Could not fetch URL https://pypi.org/project/loguru/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘pypi.org’, port=443): Max retries exceeded with url: /project/loguru/ (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)) - skipping
ERROR: Could not find a version that satisfies the requirement loguru (from versions: none)
ERROR: No matching distribution found for loguru

解决:【部分】

pip install 库包名 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

以上是关于pip ERROR: Could not find a version that satisfies the requirement loguru (from versions: none)的主要内容,如果未能解决你的问题,请参考以下文章

Python pip install 安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法

关于pip3 install virtualenvwrapper 报错:ERROR: Could not find a version that satisfies the requirement p

Python之使用pip安转第三方库时报错ERROR: Could not find a version that satisfies the requirement pygame ERROR: No

Python之使用pip安转第三方库时报错ERROR: Could not find a version that satisfies the requirement pygame ERROR: No

python通过pip安装torch错误及解决办法ERROR: Could not find a version that satisfies the requirement torch

Python安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法