Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To avoid name collision with the igraph project, this visualization library has been renamed to 'jgraph'. #5

Closed
lizhzh8 opened this issue Jun 8, 2021 · 1 comment

Comments

@lizhzh8
Copy link

lizhzh8 commented Jun 8, 2021

import igraph
File "/data2/anaconda3/envs/LatticeBERT/lib/python3.6/site-packages/igraph/init.py", line 8, in
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.

requirements.txt need to modify.

@lizhzh8
Copy link
Author

lizhzh8 commented Jun 8, 2021

This igraph(0.1.11) is the one you installed, while this igraph(0.7.1) is the one you need (and the well-known iGraph).

Using pip (once you've installed it), Just do:

sudo pip uninstall igraph

Then install the python-igraph-0.7.1 package, using either pip or apt-get as mentionned in comments below:

sudo pip install python-igraph

Oneplus added a commit to Oneplus/AliceMind that referenced this issue Jun 15, 2021
igraph -> python-igraph
@Oneplus Oneplus mentioned this issue Jun 15, 2021
@lizhzh8 lizhzh8 closed this as completed Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant