pytorch-GAT
pytorch-GAT copied to clipboard
cairocffi is also necessary in environment.yaml
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
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.
Ubuntu 18.04. After installing cairocffi, it runs perfectly.
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