How do I create a .condarc file for Anaconda?
I am trying to set up a proxy in Anaconda because my firewall does not allow online commands like
Updateconda
I see online that I have to create a .condarc file containing the proxy address. Unfortunately,
-
I don't know how to create this file (is it a text file?)
-
and where to put it ?! (in the folder? in the Anaconda folder?)
Any help is appreciated Thanks!
This is a text (YAML) file that goes into the home directory or perhaps the root of your anaconda installation.
The content should look like
# Proxy settings: http://[username]:[password]@[server]:[port]
proxy_servers:
http: http://user:pass@corp.com:8080
https: https://user:pass@corp.com:8080
See http://conda.pydata.org/docs/config.html for details .
There is a chance the .condarc file will be hidden, as in my case. I was using Linux Mint (Sarah) and was unable to find the file, although I later found it was hidden in the home directory and so when I decided to show hidden files I could find it.