【debug】pip时出现There was a problem confirming the ssl certificate

用pip下载jupyter时,使用清华镜像源,但报错如题。
改成
./pip install jupyter -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com
下载成功。这里的trusted-host使连接成功

猜你喜欢

转载自blog.csdn.net/ZHorcrux/article/details/130755404