pytorch-GAT icon indicating copy to clipboard operation
pytorch-GAT copied to clipboard

cairocffi is also necessary in environment.yaml

Open wzrzt opened this issue 4 years ago • 3 comments

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

wzrzt avatar Feb 04 '21 08:02 wzrzt

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: https://github.com/gordicaleksa/pytorch-GAT/issues/2#issuecomment-773173854

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

gordicaleksa avatar Feb 04 '21 09:02 gordicaleksa

Ubuntu 18.04. After installing cairocffi, it runs perfectly.

wzrzt avatar Feb 04 '21 14:02 wzrzt

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

JiazhengZhang avatar Feb 25 '21 08:02 JiazhengZhang