繁体   English   中英

安装虚拟环境时出错

[英]error while installing virtual environment

我在他们的网页上关注官方 django 教程。 当我运行命令“py -m pip install virtualenvwrapper-win”时,出现以下错误。 请看截图。 我安装了 Anaconda。 同样的错误发生在我只安装了 Python 的另一台计算机上。 我错过了什么?

C:\Users\Alex>py -m pip install virtualenvwrapper-win WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 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. ")': /simple/virtualenvwrapper-win/ 警告:连接被 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/virtualenvwrapper-win/ 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.")': /simple/virtualenvwrapper-win/ WARNING: Retrying (Retry(total=1, connec t=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.")': /simple/virtualenvwrapper-win / 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 .")': /simple/virtualenvwrapper-win/

Could not fetch URL https://pypi.org/simple/virtualenvwrapper-win/ : There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: / simple/virtualenvwrapper-win/(由 SSLError 引起(“无法连接到 HTTPS URL,因为 SSL 模块不可用。”)

错误:找不到满足 virtualenvwrapper-win 要求的版本(来自版本:无)错误:找不到 virtualenvwrapper-win 的匹配分发

警告:pip 配置了需要 TLS/SSL 的位置,但是 Python 中的 ssl 模块不可用。 Could not fetch URL https://pypi.org/simple/pip/ : There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/ pip/(由 SSLError 引起(“无法连接到 HTTPS URL,因为 SSL 模块不可用。”) -

尝试(对于蟒蛇):

python -m virtualenv env_name

使用 Anaconda 提示终端。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM