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
newest version.
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
this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/anaconda3/lib/python3.5/site-packages/graph_tool/all.py",
line 35, in <module>
from graph_tool.draw import *
File
"/home/anaconda3/lib/python3.5/site-packages/graph_tool/draw/__init__.py",
line 875, in <module>
from .cairo_draw import graph_draw, cairo_draw,
get_hierarchy_control_points, default_cm
File
"/home/anaconda3/lib/python3.5/site-packages/graph_tool/draw/cairo_draw.py",
line 122, in <module>
"font_slant": cairo.FONT_SLANT_NORMAL,
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.
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
following error:
import graph_tool
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)
graph_draw(g, vertex_text=g.vertex_index,