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

301次阅读
没有评论
解决pip

  • 错误信息:win10,anaconda3环境下使用pip报错——pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available
  • 原因:没有添加环境变量。在win10中安装anaconda后使用pip需要将下面三个目录添加到环境变量: D:Anaconda3;
    D:Anaconda3Scripts;
    D:Anaconda3Librarybin
  • 解决:添加环境变量
    按下win+q打开搜索框,输入environment进入编辑环境变量,然后修改环境变量(将缺的添加到系统环境变量中)

参考:https://stackoverflow.com/questions/45954528/pip-is-configured-with-locations-that-require-tls-ssl-however-the-ssl-module-in

神龙|纯净稳定代理IP免费测试>>>>>>>>天启|企业级代理IP免费测试>>>>>>>>IPIPGO|全球住宅代理IP免费测试

相关文章:

版权声明:Python基础教程2022-11-22发表,共计418字。
新手QQ群:570568346,欢迎进群讨论 Python51学习