I am trying to install graph-tool on a server and the only way it is
possible without root permission is via this command line:
conda install -c ostrokach-forge graph-tool
But its version is
'2.25 (commit , )'
well, how could I update this version in the conda environment to 2.27?
attachment.html (540 Bytes)
I'm not responsible for any anaconda package of graph-tool. They were made
by third parties, and you need to contact them and ask them to update to the
I have been using channel "ostrokach-forge" to even install properly
version 2.26 on a server and it constantly get error messages for its
dependencies. I have used conda to install the dependencies but now I get
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
line 35, in <module>
from graph_tool.draw import *
line 875, in <module>
from .cairo_draw import graph_draw, cairo_draw,
line 122, in <module>
AttributeError: module 'cairo' has no attribute 'FONT_SLANT_NORMAL'
Do you have any suggestion how to solve this error message?
I installed cairocffi, cairo, pycairo but apparently none of them solve
this error message.
Thanks in advance.
attachment.html (3.28 KB)
I installed pycairo=1.10.0 again and reinstall graph-tool. Now I do not get
the error message I posted in my previous email but I get the new one. The
from graph_tool.all import *
Gtk-Message: 18:16:20.063: Failed to load module "canberra-gtk-module"
Gtk-Message: 18:16:20.067: Failed to load module "canberra-gtk-module"
import matplotlib.pyplot as plt
g = Graph()
v1 = g.add_vertex()
v2 = g.add_vertex()
e = g.add_edge(v1, v2)
Segmentation fault (core dumped)
I can see that I have gtk3 installed but I can not understand why it can
not be loaded? Any suggestion how to solve all these errors?
attachment.html (4.8 KB)
The gtk message is not an error, and it can be ignored.
The segfault is probably a bug with the package... You need to contact the
To get an idea of what might be causing it, you can take a look at he GDB