conda update CondaHTTPError: HTTP None

后端 未结 17 774
无人共我
无人共我 2020-12-07 16:44

Midway through running Conda Update --all, the update stalled. Multiple packages had been updated. Now, when I run conda update --all or cond

相关标签:
17条回答
  • 2020-12-07 17:29
    • Download cacert.pem from https://curl.haxx.se/ca/cacert.pem,
    • save to /this/is/cert/path
    • open ~/.bashrc or any profile file you have
    • add export REQUESTS_CA_BUNDLE=/this/is/cert/path ...
    • open new terminal
    • conda update conda
    0 讨论(0)
  • 2020-12-07 17:29

    Enable 'k' flag in your conda update command. For example,

    conda update anaconda-navigator -k
    

    That will allow conda to make insecure connections to download packages. This is especially useful when you are behind a proxy server.

    0 讨论(0)
  • 2020-12-07 17:29

    I am using python 3.7.4 and I have just downloaded the conda and tried setting up the tensorflow but got http error. I tried several steps mentioned above but it dint solve my problem. I solved it by first activating conda. if you are using conda for first time you need to activate it using conda init command and then disable SSL verification conda config --set ssl_verify false After above steps my tfp setup worked perfectly!!!

    0 讨论(0)
  • 2020-12-07 17:30

    Type "conda config --show" to check the configuration information and make sure the addresses in the channels can be accessed normally.

    0 讨论(0)
  • 2020-12-07 17:37

    For the type of error above, you have to remove the proxy in environment variable. To do this follow this step :-

    Open the Environment Variables window==>>>>>

    To make many of the edits shown in this article, you first need to open the Environment Variables window. This guide explains how to open this window and shows you the basics about working with environment variables: Simple questions: What are environment variables in Windows?

    If you want to skip reading it, one path that works the same in all versions of Windows is to open the Control Panel and go to “System and Security - > System.” There, click or tap the “Advanced system settings” link on the left. The System Properties window is opened. There click the Environment Variables button.

    In this you have to select that one which have proxy , and delete ,then click Ok. Now restart your Anaconda prompt. It worked for me; I hope it also work for you.
    Good luck

    0 讨论(0)
提交回复
热议问题