Just installed FC6 onto AMD 64 bit processor and have installed Python.
I have also installed numpy and matplotlib however when I run IPython
and begin importing items I run into a problem when try to import pylab.
Specifically I receive the following dump:

In [3]: import pylab
---------------------------------------------------------------------------
exceptions.ImportError                               Traceback (most
recent call last)

/home/Dad/<ipython console> 

/usr/lib64/python2.4/site-packages/pylab.py 
----> 1 from matplotlib.pylab import *

/usr/lib64/python2.4/site-packages/matplotlib/pylab.py 
    200 
    201 from axes import Axes, PolarAxes
--> 202 import backends
    203 from cbook import flatten, is_string_like, exception_to_str,
popd, \
    204      silent_list, iterable, enumerate

/usr/lib64/python2.4/site-packages/matplotlib/backends/__init__.py 
     52 # a hack to keep old versions of ipython working with mpl after
bug
     53 # fix #1209354
     54 if 'IPython.Shell' in  sys.modules:
---> 55     new_figure_manager, draw_if_interactive, show =
pylab_setup()
     56 

/usr/lib64/python2.4/site-packages/matplotlib/backends/__init__.py in
pylab_setup()
     21     backend_name = 'backend_'+backend.lower()
     22     backend_mod =
__import__('matplotlib.backends.'+backend_name,
---> 23                              globals(),locals(),[backend_name])
     24 
     25     # Things we pull in from all backends

/usr/lib64/python2.4/site-packages/matplotlib/backends/backend_gtkagg.py 
      8 from matplotlib.figure import Figure
      9 from backend_agg import FigureCanvasAgg
---> 10 from backend_gtk import gtk, FigureManagerGTK, FigureCanvasGTK,\
     11      show, draw_if_interactive,\
     12      error_msg_gtk, NavigationToolbar, PIXELS_PER_INCH,
backend_version, \

/usr/lib64/python2.4/site-packages/matplotlib/backends/backend_gtk.py 
     19 from matplotlib.backend_bases import RendererBase,
GraphicsContextBase, \
     20      FigureManagerBase, FigureCanvasBase, NavigationToolbar2,
cursors
---> 21 from matplotlib.backends.backend_gdk import RendererGDK,
FigureCanvasGDK
     22 from matplotlib.cbook import is_string_like, enumerate
     23 from matplotlib.colors import colorConverter

/usr/lib64/python2.4/site-packages/matplotlib/backends/backend_gdk.py 
     33     from matplotlib.backends._nc_backend_gdk import
pixbuf_get_pixels_array
     34 else:
---> 35     from matplotlib.backends._ns_backend_gdk import
pixbuf_get_pixels_array
     36 
     37 

ImportError: No module named _ns_backend_gdk


I am new to this and would appreciate any help in resolving this
problem.  Thanks.

Steve


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to