pip 安装没有证书解决办法
使用pip安装东西出现下面问题
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443):
解决办法:
1: 重新安装pip conda install pip
2:然后 pip install xxx
此时如果 出现ValueError: check_hostname requires server_hostname
这类问题,可以在设置里面关掉代理服务器,然后就可以安装,正常使用了
```python File "E:\anaconda\envs\pytorch\lib\ssl.py", line 773, in
__init__
raise ValueError("check_hostname requires server_hostname") ValueError: check_hostname requires server_hostname ```