close

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

Hello Guys, How are you all? Hope You all Are Fine. Today We Are Going To learn about How to make Anaconda work behind HTTP proxy (not https) in Python. So Here I am Explain to you all the possible Methods here.

Without wasting your time, Let’s start This Article.

Table of Contents

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

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

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

  2. make Anaconda work behind HTTP proxy (not https)

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

Method 1

you need to create a .condarc file in you Windows user area:

C:\Users\<username>\

The file should contain:

channels:
- defaults

# Show channel URLs when displaying what is going to be downloaded and
# in 'conda list'. The default is False.
show_channel_urls: True
allow_other_channels: True

proxy_servers:
    http: http://proxy.yourorg.org:port
    https: http://proxy.yourorg.org:port


ssl_verify: False

Method 2

I went on to add HTTP_proxy and HTTPS_proxy in the environment variable. The format used was “username:[email protected]_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.

Conclusion

It’s all About this issue. Hope all Methods helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which Method worked for you? Thank You.

Also, Read