Python Forum
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
igraph and jgraph
#1
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?
Reply
#2
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
Reply
#3
(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]
Reply
#4
Have you looked at Requirements.
Reply
#5
(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]
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020