Just upgraded to 98.4. Can reproduce this on two XP32 boxes. Any thoughts?
C:\Documents and Settings\rwagner\Desktop>python
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on
Type "help", "copyright", "credits" or "license" for more information.
>>> from pylab import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python25\Lib\site-packages\pylab.py", line 1, in <module>
from matplotlib.pylab import *
File "C:\Python25\Lib\site-packages\matplotlib\pylab.py", line 253, in <module
from matplotlib.pyplot import *
File "C:\Python25\Lib\site-packages\matplotlib\pyplot.py", line 75, in <module
new_figure_manager, draw_if_interactive, show = pylab_setup()
File "C:\Python25\Lib\site-packages\matplotlib\backends\__init__.py", line 25,
File "C:\Python25\Lib\site-packages\matplotlib\backends\backend_gtkagg.py", li
ne 10, in <module>
from matplotlib.backends.backend_gtk import gtk, FigureManagerGTK, FigureCan
File "C:\Python25\Lib\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.
On Wed, Dec 10, 2008 at 5:01 PM, Ryan Wagner <rwagner@...> wrote:
> Just upgraded to 98.4. Can reproduce this on two XP32 boxes. Any
This is a bug in the win32 installer, which has gtkagg set as the default
backend. You can fix this by setting TkAgg in the backend, which is what we
*should* have done in the installer. You need to change the line
backend : GTKAgg
backend : TkAgg
in your matplotlibrc config file. Instructions for editing the rc file can
be found at http://matplotlib.sourceforge.net/users/customizing.html. You
can also read about "what is a backend?" here -
We will be putting out new installers that fix this problem ASAP, so those
of you who on windows who have not yet installed 98.4 may prefer to wait
until we announce the fixed installers are up. This problem does not affect
the src tarball or the os x installers.
Sorry for the trouble!