Many Corporate environments have security setup on the local network. These security policies may prevent a new Anaconda installation from downloading packages and other functionality that requires connecting to an external server. Even though you may be able to access these websites in a browser you may still need to configure conda so that it can execute commands. To make external connections you may need to connect to a firewall/proxy. Additionally your IT team may need to allow connections to
https://repo.anaconda.com as these are the main package repositories.
To add the proxy information you will need to add two entries to your
.condarc file located in the user's home directory. This information should be made available by your IT team and may contain a username and password that is included in the URL. More information on the
.condarc configuration can be found here, https://conda.io/docs/user-guide/configuration/use-condarc.html#configure-conda-for-use-behind-a-proxy-server-proxy-servers.
- http: http://username:[email protected]:8080
- https: https://username:[email protected]:8443
In some situations it may be necessary to export the
HTTPS_PROXY environment variables
export HTTP_PROXY=http://username:[email protected]:8080
export HTTPS_PROXY=https://username:[email protected]:8443
set HTTP_PROXY=http://username:[email protected]:8080
set HTTPS_PROXY=https://username:[email protected]:8443
If these steps have not allowed connections you should speak to your IT team to verify that security policies are not blocking connections to