zoukankan      html  css  js  c++  java
  • python上传模块报错:error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)>

    python将自己写的模块上传到PyPI服务器,报错

    error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)>
    

    以下解决方案仅针对mac系统用户
    ** 1.打开Macintosh HD-应用程序-Python 3.7,会看到以下页面**

    ** 2.双击运行Install Certificates.command**

    ** 3双击运行Update Shell Profile.command**

    接下来再上传模块,就会成功了

    Submitting dist/testceshishangchuan-1.0.tar.gz to https://upload.pypi.org/legacy/
    Server response (200): OK
    
  • 相关阅读:
    命令[34]
    命令[33]
    命令[27]
    命令[38]
    命令[19]
    命令[22]
    命令[30]
    命令[37]
    命令[23]
    命令[26]
  • 原文地址:https://www.cnblogs.com/jiakecong/p/14667130.html
Copyright © 2011-2022 走看看