Running conda with proxy

前端 未结 6 1869
迷失自我
迷失自我 2020-12-02 10:47

I\'m using Anaconda 2.7 on windows, and my internet connection uses a proxy.

Previously, when using python 2.7 (Not Anaconda), I installed package like this:

6条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-02 10:49

    You can configure a proxy with conda by adding it to the .condarc, like

    proxy_servers:
        http: http://user:pass@corp.com:8080
        https: https://user:pass@corp.com:8080
    

    Then in cmd Anaconda Power Prompt (base) PS C:\Users\user> run:

    conda update -n root conda
    

提交回复
热议问题