Python Forum

Full Version: igraph and jgraph
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I use linux xubuntu (32 bit).
I have python 3.5. I installed igraph using the command below:

sudo apt-get install python3-pip
sudo pip3 install igraph
when I run a tool I have below error:
raise DeprecationWarning("To avoid name collision with the igraph project, "

DeprecationWarning: To avoid name collision with the igraph project, this visualization library has been renamed to 'jgraph'. Please upgrade when convenient.


what should I do?
sudo pip3 uninstall igraph
Then.
sudo pip3 install python-igraph

Get familiar with Virtualenv.
No need to sudo install all into Python OS version.
Eg.
# Make virtualenv with Python 3.5
mint@mint ~/Desktop/my_env $ virtualenv -p /usr/bin/python3.5 my_env
# Activate
mint@mint ~/Desktop/my_env $ source bin/activate

# Now pip in this virtualenv is used
(my_env) mint@mint ~/Desktop/my_env $ pip -V
pip 9.0.1 from /home/mint/Desktop/my_env/lib/python3.5/site-packages (python 3.5)

# No conflicts with what installed before 
(my_env) mint@mint ~/Desktop/my_env $ pip install python-igraph
(May-13-2017, 08:22 PM)snippsat Wrote: [ -> ]sudo pip3 uninstall igraph
Then.
sudo pip3 install python-igraph

Thank you very much when I want to install python-igraph I have the below error. what should I do?

[Image: djom_1.jpg]
Have you looked at Requirements.
(May-14-2017, 11:12 AM)snippsat Wrote: [ -> ]Have you looked at Requirements.

Thank you.
That means I should install build-essential and python-dev first.
when I want to install them I have an error.
[Image: y3n_build-essential.jpg]
[Image: 9xv5_python3-dev.jpg]