pip is configured with locations that require TLS/SSL, however the ssl modul

安装anaconda3,用pip安装库时出现问题:

pip is configured with locations that require TLS/SSL, however the ssl modul

可以通过添加环境变量解决:

1.找到环境变量

windows10控制面板—>系统与安全—>系统—>高级系统设置—>环境变量

2.在path中添加自己电脑中安装anaconda3的目录:

C:\Users\gezi9\Anaconda3

C:\Users\gezi9\Anaconda3\Scripts

C:\Users\gezi9\Anaconda3\Library\bin

操作完成后就可以通过pip安装所需的库了

猜你喜欢

转载自blog.csdn.net/weixin_44692055/article/details/128558382