Win10命令行中使用pip报错:pip is configured with locations that require TLS/SSL

新电脑win10系统,配置了Anaconda3

想在命令行里使用pip安装一些包,结果报错:
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

查了一下貌似是环境配置的问题,尝试修改环境变量解决不了。

解决方法:
不运行cmd,而运行 Anaconda Prompt,则可以正常使用pip install啦


————————————————
版权声明:本文为CSDN博主「想成为技术宅的死肥宅」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_40157728/article/details/103260460

发布了29 篇原创文章 · 获赞 3 · 访问量 3384

猜你喜欢

转载自blog.csdn.net/qq_41601836/article/details/105079064