Created
January 10, 2017 01:28
-
-
Save HoriLiu/aa091f2cbcf3ff0ebc193eb65c6b2e3e to your computer and use it in GitHub Desktop.
Python Anaconda Proxy Setup via .condarc file on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Create a .condarc file at: C:\Users\username folder. | |
| http://conda.pydata.org/docs/config.html#the-conda-configuration-file-condarc | |
| Example: conda config --add channels r | |
| use copy con .condarc file if does not exist at above folder. | |
| File content is: | |
| proxy_servers: | |
| http: http://username:[email protected]:8080 | |
| https: https://username:[email protected]:8080 | |
| (DO NOT USE tabs, must be space between http: and http://...) | |
| You might not have a username and password for proxy still works. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
another quirk I found is that you can actually have "ssl_verify = true" depending on the proxy script you may actually will require it, even if you in fact do not need a password.
in this case it will prompt you for a password. This method is preferred to entering your full usrname/passwrd in the text file.
and when your password changes you do not need to go through this process agian with .condarc pains.