赞
踩
Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/pyperclip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /simple/pyperclip/ (Caused by SSLError(SSLError(1, '[SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:852)'),)) - skipping
这样的错误,很有可能是在删除镜像源的时候,把默认的镜像源也删除了。
- conda config --add channels https://repo.anaconda.com/pkgs/main
- conda config --add channels https://repo.anaconda.com/pkgs/r
- conda config --add channels https://repo.anaconda.com/pkgs/msys2
- conda config --set show_channel_urls yes
之后就可以正常使用 pip instill xx 了,如下图:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。