Hi All,
Wonderful to get to know about this mailing list. Thanks to the creators of graph-tool for writing a wonderful library!! I was seamlessly using graph-tool inside Colab notebooks until a week ago to visualize large graphs. But about 10 days ago Colab updated to Python 3.7 and my original graph-tool import and usage setup ran into a few hiccups due to me not knowing how to go about dealing with changes due to their update. After installing graph-tool within Colab in the usual way my main script goes as follows... ========================= from graph_tool.all import * line_no (1) for reference from gi.repository import Gtk, Gdk, GdkPixbuf, GObject, GLib line_no (2) pos= sfdp_layout(CG) line_no (30) for reference graph_draw(.. ) line_no (31) for reference ========================= The accompanying G-libs seem necessary along with graph-tool, since without line_no (2) I can't use sfdp_layout later in line_no 30. Error I get is "name 'sfdp_layout' is not defined" But if I do try import those G-libs as in line_no(2), I get an import error. "ImportError: cannot import name '_gi' from 'gi' (/usr/lib/python3/dist-packages/gi/__init__.py)" There doesn't seem to be a way to make Colab use earlier version Python 3.6 by default for a notebook. So I am a bit clueless on how to go about it. Has anyone run into similar problem? Can anyone check this out and share how one can get around this problem ? Thank you so much, Edgar -- Sent from: https://nabble.skewed.de/ _______________________________________________ graph-tool mailing list graph-tool@skewed.de https://lists.skewed.de/mailman/listinfo/graph-tool