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

cairocffi is also necessary in environment.yaml #3

Open
wzrzt opened this issue Feb 4, 2021 · 3 comments
Open

cairocffi is also necessary in environment.yaml #3

wzrzt opened this issue Feb 4, 2021 · 3 comments

Comments

@wzrzt
Copy link

wzrzt commented Feb 4, 2021

I built conda env by conda env create -f environment.yaml. But before pip install cairocffi, ig.plot() shows error: Type Error: ploting is not available.
So maybe cairocffi should be include in environment.yaml

    - cairocffi==1.2.0
@gordicaleksa
Copy link
Owner

The current setup should work (not I'm on Windows and weird things may happen on other platforms I haven't tested it).

Check out my answer to a related issue: #2 (comment)

Could you provide more details on your setup? OS, type of env you're using, etc.

@wzrzt
Copy link
Author

wzrzt commented Feb 4, 2021

Ubuntu 18.04. After installing cairocffi, it runs perfectly.

@JiazhengZhang
Copy link

In colab ,By doing this , you can successfully plotting the network.
!pip install python-igraph==0.8.3
!apt install libcairo2-dev pkg-config python3-dev
!pip install python-igraph leidenalg cairocffi

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

3 participants