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

324 阅读1分钟

转载自:www.jianshu.com/p/4be85de84… 侵权可删,主要是记录自己遇到的问题,也希望能帮助遇到同样问题的其他朋友!

本机环境:Windows 10 64位 Anaconda python 3.7.1

报错信息:pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

解决方法:

原因:Anaconda 环境变量未配置完全

配置步骤:

① 右键此电脑-属性
② 左侧-高级系统设置
③ 高级-环境变量
④ 找到用户变量和系统变量--Path(在这里面配置下图内容,里面的路径根据你自己安装的路径配置!

配置环境变量.png

恭喜你,问题已经完美解决,可以正常使用,继续开始学习其他内容吧!!!