I am trying to set up a proxy server in Anaconda because my firewall does not allow me to run online commands such as
conda update
I see online that I should create a .condarc file that contains the proxy address. Unfortunately,
I dont know how to create that file (is it a text file?)
and where to put it?! (in which folder? in the Anaconda folder?)
Any help appreciated Thanks!
It is a text (YAML) file that goes in the home directory, or optionally, the root of the anaconda installation. The contents should look like # Proxy settings: http://[username]:[password]@[server]:[port] proxy_servers: http: http://user:[email protected]:8080 https: https://user:[email protected]:8080.
condarc file at the C:\Users\username folder. Use copy con . condarc file if it does not exist at folder above.
You can see if your proxy is set by running conda info --all .
It is a text (YAML) file that goes in the home directory, or optionally, the root of the anaconda installation.
The contents should look like
# Proxy settings: http://[username]:[password]@[server]:[port]
proxy_servers:
http: http://user:[email protected]:8080
https: https://user:[email protected]:8080
See http://conda.pydata.org/docs/config.html for more information.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With