Conda update failed: SSL error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

前端 未结 8 1751
借酒劲吻你
借酒劲吻你 2020-11-30 20:03

I found out that there was a problem when I tried doing

conda update 

Terminal output

conda update b

8条回答
  •  一个人的身影
    2020-11-30 20:49

    After 2 hrs of net surfing Finally For me the problem was fixed by creating a folder pip, with a file: pip.ini in C:\Users\AppData\Roaming\ e.g:

    C:\Users\\AppData\Roaming\pip\pip.ini
    

    Inside it I wrote:

    [global]
    trusted-host = pypi.python.org
    pypi.org
    files.pythonhosted.org
    

    I restarted python, and then pip permanently trusted these sites, and used them to download packages from.

    If you can't find the AppData Folder on windows, write %appdata% in file explorer and it should appear.

    Source : pip install fails with "connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:598)"

提交回复
热议问题