Hi again,

I found out, which prefix works in order to get pygtk installed to the right directory. It seems somewhat strange to me, but it works:

./configure --prefix=/Library/Frameworks/Python.framework/Versions/2.3/

ok, so far so good. Now, I can import pygtk. Sic!

Is this the right place to ask a question on installing the matplotlib? Because now, when I want to build matplotlib, it terminates with:

Traceback (most recent call last):
File "setup.py", line 125, in ?
try: import gtk
File "/Library/Frameworks/Python.framework/Versions/2.3//lib/python2.3/site- packages/gtk-2.0/gtk/__init__.py", line 37, in ?
from _gtk import *
RuntimeError: could not open display


What's up now?
Thanks a lot
Reik

Hello,

did you install matplotlib before you installed pygtk?  If this is the
case you might want to try recompiling and installing matplotlib.  If
you decide to do so, make sure that you remove the matplotlib
installation before rebuilding it /(remove
/usr/site/python2.3/site-packages/matplotlib).

Niklas.

_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to