How to make Anaconda work behind HTTP proxy (not https)?

前端 未结 7 1919
攒了一身酷
攒了一身酷 2020-12-14 18:42

I\'m having trouble working with Anaconda behind a proxy at work.

When I have have the following environment variables:

http_proxy: http://domain\\us         


        
相关标签:
7条回答
  • 2020-12-14 19:34

    I went on to add HTTP_proxy and HTTPS proxy in the environment variable. The format used was "username:password@proxy_name:port". I then reopened Anaconda prompt. Type "set" to verify the added variables are present in Anaconda environment. Now you can type "spyder" in the Ananconda prompt. This setting worked for me.

    Initially I had tried setting the ".condarc file with the proxy parameters and tried "conda update conda" to no luck.

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