interactive_window not defined
Hi there.
I've installed python-graph-tool from AUR package of Arch linux, in case it won't builds from source for some reason. I've also installed all recommended deps, such as GTK+3, but still won't run simple piece of code. Also looked at semi threads, but still useless.
this is a error log:
usr/lib/python3.5/site-packages/graph_tool/draw/cairo_draw.py:1464: RuntimeWarning: Error importing Gtk module: No module named 'gi'; GTK+ drawing will not work.
warnings.warn(msg, RuntimeWarning)
Traceback (most recent call last):
File "lab_1.py", line 5, in <module>
graph_draw(g, vertex_text=g.vertex_index)
File "/usr/lib/python3.5/site-packages/graph_tool/draw/cairo_draw.py", line 1090, in graph_draw
return interactive_window(g, pos, vprops, eprops, vorder, eorder,
NameError: name 'interactive_window' is not defined
% pacman -Qi gtk3
Name : gtk3
Version : 3.18.7-1
Description : GObject-based multi-platform GUI toolkit
Architecture : x86_64
URL : http://www.gtk.org/
Licenses : LGPL
Groups : None
Provides : None
Depends On : atk cairo libcups libxcursor libxinerama libxrandr libxi libepoxy gdk-pixbuf2 libxcomposite libxdamage
pango shared-mime-info colord at-spi2-atk wayland libxkbcommon adwaita-icon-theme json-glib rest librsvg
gtk-update-icon-cache
Optional Deps : libcanberra: gtk3-widget-factory demo [installed]
Required By : evince firefox gmtk gnome-desktop gtkmm3 libxfce4ui
Optional For : avahi ghostscript libreoffice-fresh
Conflicts With : None
Replaces : None
Installed Size : 67.34 MiB
Packager : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Build Date : Thu Jan 28 20:00:24 2016
Install Date : Wed Feb 17 16:29:49 2016
Install Reason : Installed as a dependency for another package
Install Script : Yes
Validated By : Signature
kaldown@d15:~/projects/risk_analysis % pacman -Qi python-graph-tool
Name : python-graph-tool
Version : 2.12-2
Description : A Python module for manipulation and statistical analysis of graphs
Architecture : x86_64
URL : http://projects.skewed.de/graph-tool/
Licenses : GPL3
Groups : None
Provides : python3-graph-tool
Depends On : boost python3 expat python3-scipy python3-numpy cgal
Optional Deps : graphviz: graph layout
cairomm: graph drawing [installed]
python-cairo: graph drawing [installed]
python-matplotlib: graph drawing [installed]
Required By : None
Optional For : None
Conflicts With : python3-graph-tool
Replaces : python3-graph-tool
Installed Size : 149.52 MiB
Packager : Unknown Packager
Build Date : Wed Feb 17 16:13:13 2016
Install Date : Wed Feb 17 16:28:19 2016
Install Reason : Explicitly installed
Install Script : No
Validated By : None