pip 配置了需要 TLS/SSL 的位置,但是 Python 中的 ssl 模块不可用 [英] pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available

查看:39
本文介绍了pip 配置了需要 TLS/SSL 的位置,但是 Python 中的 ssl 模块不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 Python 3.6.当我尝试安装模块"时使用 pip3,我遇到了这个问题:

I am using Python 3.6. When I try to install "modules" using pip3, I face this issue:

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available

推荐答案

对于 Windows 10如果您想在普通 cmd 中使用 pip,而不仅仅是在 Anaconda 提示符中.您需要添加 3 个环境路径.像下面这样:

For Windows 10 if you want use pip in normal cmd, not only in Anaconda prompt. you need add 3 environment paths. like the followings:

D:Anaconda3 
D:Anaconda3Scripts
D:Anaconda3Libraryin 

大多数人只添加 D:Anaconda3Scripts

most people only add D:Anaconda3Scripts

这篇关于pip 配置了需要 TLS/SSL 的位置,但是 Python 中的 ssl 模块不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆