Installing python-igraph 0.7.1-4 throws error as "10038, 'An operation was attempted on something that is not a socket'

Christoph Gohlke's page hosts several pre-compiled packages for Python on Windows, including igraph's Python interface. Download the Python wheel corresponding to your Python version from that page and install it using the pip command. Since you are using Python 2.7, you will need the one that has cp27 in its filename.


I just had the same problem, neither via the pycharm installer nor the pip install I was able to install python-igraph.

The solution given by Tamás has worked for me. Download the the file you need from Christoph Gohles page.

Open the terminal

> cd ./ContainingFolder
> pip install python_igraph-0.7.1.post4-cp34-none-win_amd64.whl
Processing c:\users\username\ContainingFolder\python_igraph-0.7.1.post4-cp34-none-win_amd64.whl
Installing collected packages: python-igraph

Successfully installed python-igraph-0.7.1.post4