[John Porter <jporter@...309...>] 3D plotting

pygtk present but import failed

    > Using default library and include directories for Tcl and Tk because a
    > Tk window failed to open. You may need to define DISPLAY for Tk to work
    > so that setup can determine where your libraries are located.
    > (setup.py:31070): Gtk-WARNING **: cannot open display:

This looks like an X11 issue. Make sure you log in with ssh -X and
that you can launch an X11 app from the build machine in the build
environment. Sometimes you also need to set xhost. Eg if you are
building as root, make sure you can launch an xterm as root before
trying to install matplotlib.

JDH

Fwiw, bdist_rpm just worked fine for me on Ubuntu.

- Charlie

···

On 3/16/06, John Hunter <jdhunter@...5...> wrote:

    > pygtk present but import failed
    > Using default library and include directories for Tcl and Tk because a
    > Tk window failed to open. You may need to define DISPLAY for Tk to work
    > so that setup can determine where your libraries are located.
    > (setup.py:31070): Gtk-WARNING **: cannot open display:

This looks like an X11 issue. Make sure you log in with ssh -X and
that you can launch an X11 app from the build machine in the build
environment. Sometimes you also need to set xhost. Eg if you are
building as root, make sure you can launch an xterm as root before
trying to install matplotlib.

JDH

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
matplotlib-devel List Signup and Options