Skip to content Skip to sidebar Skip to footer

Unicodedecodeerror When Installing Python-igraph

I'm using python 2.7 on 64-bit Linux Mint 16 and I'm trying to install python-igraph. But when I run sudo pip install python-igraph I get the following log: Downloading/unpacking p

Solution 1:

Does the version of libigraph0-dev match the version number of the Python interface? If the version of libigraph0-dev is not equal to 0.7.1, it will not be suitable for the version of python-igraph that you are trying to compile. In that case, it is better to remove libigraph0 and libigraph0-dev and run pip install python-igraph again; the setup script will then attempt to download and compile an appropriate version of the C core of igraph first.

I know that you have posted another question today in which you stated that pip install python-igraph (without having libigraph0-dev) does not work for you; try again anyway because the previous version of python-igraph had a bug that prevented it from downloading the right version of the C core, and I have fixed the bug just an hour ago.

Solution 2:

download source code of igraph in C and install it using below code

./configure && make && sudo make install

then install python igraph using pip or from source

Post a Comment for "Unicodedecodeerror When Installing Python-igraph"