gpt4 book ai didi

python-3.x - MacOS 上的 pip3 : SSL error while installing virtualenv

转载 作者:太空宇宙 更新时间:2023-11-03 14:30:22 28 4
gpt4 key购买 nike

当我运行这个命令时:

pip3 install virtualenv

它返回这个:

Collecting virtualenv
Could not fetch URL https://pypi.python.org/simple/virtualenv/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645) - skipping
Could not find a version that satisfies the requirement virtualenv (from versions: )
No matching distribution found for virtualenv

我该如何解决?谢谢你的帮助

最佳答案

这解决了我的问题:

curl https://bootstrap.pypa.io/get-pip.py | sudo python3

pip3 安装 virtualenv

关于python-3.x - MacOS 上的 pip3 : SSL error while installing virtualenv,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53251546/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com