From: <J.B...@if...> - 2005-12-07 14:59:16
|
Hi list, After successful installation of wxGTK, wxPython and matplotlib I tried the "simple_plot.py example" wich I 've found in the faq. But I 'm running into trouble: jens-ifw@x21lx-jensb:~/Documents/Python> python simple_plot.py --verbose-helpful matplotlib data path /usr/local/share/matplotlib $HOME=/home/jens-ifw CONFIGDIR=/home/jens-ifw/.matplotlib loaded rc file /usr/local/share/matplotlib/matplotlibrc matplotlib version 0.85 verbose.level helpful interactive is False platform is linux2 numerix Numeric 24.0 font search path ['/usr/local/share/matplotlib'] loaded ttfcache file /home/jens-ifw/.matplotlib/ttffont.cache Traceback (most recent call last): File "simple_plot.py", line 3, in ? from pylab import * File "/usr/local/lib/python2.4/site-packages/pylab.py", line 1, in ? from matplotlib.pylab import * File "/usr/local/lib/python2.4/site-packages/matplotlib/pylab.py", line 217, in ? new_figure_manager, draw_if_interactive, show = pylab_setup() File "/usr/local/lib/python2.4/site-packages/matplotlib/backends/__init__.py", line 24, in pylab_setup globals(),locals(),[backend_name]) File "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtkagg.p y", line 10, in ? from backend_gtk import gtk, FigureManagerGTK, FigureCanvasGTK,\ File "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py", line 6, in ? import gobject ImportError: No module named gobject Do I have to build wxPython with BUILD_GLCANVAS=1? Or what else could be wrong in the configuration? Thank 's in advance... cheers Jens B. |