[yt-users] Installation script issue with pygtk

Chris Malone chris.m.malone at gmail.com
Mon Dec 6 11:52:30 PST 2010


Im running on a Fedora 9, 64-bit local desktop:

$ uname -r

I used the install script for both the current stable release as well as the
development release.  Both scripts completed without any errors.  I wanted
to try the Quick Start instructions to play with the iyt interface.  Below
is what happens for both cases (after prepending the appropriate environment

$ iyt
UserWarning: rcParams key "numerix" is obsolete and has no effect;
 please delete it from your matplotlibrc file
  warnings.warn('rcParams key "numerix" is obsolete and has no effect;\n'
Traceback (most recent call last):
  File "/home/cmalone/install/yt/yt-x86_64/bin/iyt", line 7, in <module>
  File "/home/cmalone/install/yt/yt-x86_64/src/yt-hg/scripts/iyt", line 30,
in <module>
    ip_shell = ipbackends[bend](user_ns=namespace)
line 1116, in __init__
line 775, in __init__
    import gtk
ImportError: No module named gtk

It therefore appears (and see example install log below) that pygtk was not
installed or detected.  Is this working as intended, such that the install
script doesn't include the GUI backend information?  Or is is something on
my end that is not working properly?  The install script mentions if you
have problems with wxPython you should set INST_WXPYTHON=0, but I don't see
anything specific about Gtk and I didn't have any wxPython issues other than
the installer not finding it when trying to install matplotlib (again see
install log).

In other words, it appears that the install script isn't completely creating
a "fully isolated Python installation with the dependencies you need to run
yt," unless there are some options I need to pass to matplotlib via the
MPL_SUPP_* flags?

If it helps at all, I do have a Python 2.5.1 global installation, which has
access to matplotlib, NumPy, wxPython, Tkinter, and Gtk.  Would it be easier
to install by hand and just point to the appropriate locations of these
libraries?  If so, which versions of HDF5, NumPy, Matplotlib and wxPython
are required? (only versions of Python are specified at

-------------- yt_install.log attached ----------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20101206/9f8273ee/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yt_install.log
Type: application/octet-stream
Size: 1732284 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20101206/9f8273ee/attachment.obj>

More information about the yt-users mailing list