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!
+3
source to share
2 answers
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 .
+5
source to share