Ernesto561 Ernesto561 - 4 months ago 57
Python Question

Conda hangs when installing from

I'm having a problem when I try to install packages from When I try for example 'conda install --channel rtree', it shows the dependencies it is going to install, but when I accept, it gets stuck in 'Fetching packages ...' .I thought that the problem was that I am behind my company proxy, but when I check my proxy settings I get:

C:\Windows\system32>netsh.exe winhttp show proxy
Current WinHTTP proxy settings:

Direct access (no proxy server).

So it seems I'm not behind a proxy. I am using Anaconda 2.4.0 in Windows 7.

Does anyone how can I solve this problem?


I faced similar problem with conda. Even though I had done appropriate settings in environment variables for my proxy servers, conda install hanged.

I used the netsh command that you used :

C:\Users\tauseef>netsh.exe winhttp show proxy

Current WinHTTP proxy settings:

    Direct access (no proxy server).

I see it does not return a proxy server but indeed i know for sure that my system was behind a proxy server.

So, I created a .condarc file ( as mentioned here : how to create a .condarc file for Anaconda?) in my home directory on Windows7 ( C:\Users\tauseef) You can use the following command to create a very minimal looking .condarc file (see

conda config --add channels r

and I entered the following lines on .condarc file

# Proxy settings: http://[username]:[password]@[server]:[port]

Now I am able to install a package (say mingw) using

conda install mingw