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

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

问题描述

我正在使用Python3.6,当我尝试使用pip3安装模块"时,我遇到以下问题"pip配置了需要TLS/SSL的位置,但是Python中的ssl模块却没有可用"

I am using Python3.6, when I try to install "modules" using pip3, I am facing the below mentioned 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:\Anaconda3\Scripts; 
D:\Anaconda3\Library\bin 

大多数人只添加D:\ Anaconda3 \ Scripts;

most people only add D:\Anaconda3\Scripts;

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

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