From: John H. <jdh...@ac...> - 2004-11-28 16:23:22
|
>>>>> "Reik" =3D=3D Reik H B=F6rger <rei...@gm...> writes: Reik> Hello, it's me again, I found my mistake, I specified the Reik> wrong path when installing pygtk. But now, I have a problem Reik> installing matplotlib. When I type Reik> python setup.py build Reik> it terminates with: Reik> Traceback (most recent call last): File "setup.py", line Reik> 125, in ? try: import gtk File Reik> "/Library/Frameworks/Python.framework/Versions/2.3//lib/python2= .3/site- Reik> packages/gtk-2.0/gtk/__init__.py", line 37, in ? from _gtk Reik> import * RuntimeError: could not open display Reik> What is going wrong? I have no idea... Thanks Reik This is an annoying build issue that hopefully we'll resolve before too long. I assume you are building from the Terminal shell is OSX. You'll need build and run matplotlib from the X terminal http://www.apple.com/macosx/features/x11/ Hope this helps, JDH |