Hi,

I'm trying to run a demo example,

http://matplotlib.sourceforge.net/plot_directive/mpl_toolkits/axes_grid/figures/demo_axes_grid.py

ran into this problem saying pygtk was needed:

$ curl
http://matplotlib.sourceforge.net/plot_directive/mpl_toolkits/axes_grid/figures/demo_axes_grid.py>
demo_axes_grid.py

$  python demo_axes_grid.py
Traceback (most recent call last):
  File "demo_axes_grid.py", line 1, in <module>
    import matplotlib.pyplot as plt
  File
"/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages/matplotlib/pyplot.py",
line 78, in <module>
    new_figure_manager, draw_if_interactive, show = pylab_setup()
  File
"/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages/matplotlib/backends/__init__.py",
line 25, in pylab_setup
    globals(),locals(),[backend_name])
  File
"/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages/matplotlib/backends/backend_gtkagg.py",
line 10, in <module>
    from matplotlib.backends.backend_gtk import gtk, FigureManagerGTK,
FigureCanvasGTK,\
  File
"/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages/matplotlib/backends/backend_gtk.py",
line 11, in <module>
    raise ImportError("Gtk* backend requires pygtk to be installed.")
ImportError: Gtk* backend requires pygtk to be installed.



Then I tried to install pygtk:

$  pip install pygtk
Downloading/unpacking pygtk
  Running setup.py egg_info for package pygtk
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File
"/Users/michaelanderson/root/mikeWork/2010June/temp/build/pygtk/setup.py",
line 22, in <module>
        from dsextras import get_m4_define, getoutput, have_pkgconfig, \
    ImportError: No module named dsextras
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File
"/Users/michaelanderson/root/mikeWork/2010June/temp/build/pygtk/setup.py",
line 22, in <module>

    from dsextras import get_m4_define, getoutput, have_pkgconfig, \

ImportError: No module named dsextras

----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /Users/michaelanderson/.pip/pip.log


Ok, then I tried to install dsextras:
$  pip install dsextras
Downloading/unpacking dsextras
  Could not find any downloads that satisfy the requirement dsextras
No distributions at all found for dsextras
Storing complete log in /Users/michaelanderson/.pip/pip.log


What is this obscure package (dsextras) and is it really necessary to run
the shared axes demo?

Mike
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to