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

背景 安装pip后发现执行pip install pytest,提示下面错误 解决方法 查询了资料,大概意思是,新版的pip默认要使用SSL,可以通过设置修改,但木有发现pip.conf文件在哪里,囧rz,后续再研究下 但找到另外一个解决方法 先安装openssl dev,然后重新编译安装,只是在编译的过程中加入 enable optimizations 具体如下: 这样就可以了的 实际上解决方 ...

2018-02-28 20:06 3 13451 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM