PyLab auf Mac OS X

Probleme bei der Installation?
Antworten
mzh
User
Beiträge: 295
Registriert: Dienstag 3. März 2009, 15:27
Wohnort: ZH

Hallo zusammen
Wollte mir gerade PyLab für Mac OS X installieren. Schien mit der Standardinstallation auch gut zu funktionieren, allerdings wenn ich in Python Pylab importiere, kratzt Python ab:

Code: Alles auswählen

Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55) 
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Importing Modules from $HOME/.pythonstart
If undesired, edit $PYTHONSTARTUP env variable
imported numpy
from PyQt4.QtGui imported *
from PyQt4.QtCore imported *
>>> import pylab
Bus error
Ich hab mir im .pythonstart File ein paar Befehle reingeschrieben, deshalb der zusätzliche Output. Was kann ich machen?
[url=http://www.proandkon.com]proandkon.com[/url]
deets

Zuerstmal versuchen rauszufinden, wo genau es crasht.

Dazu so grob das hier machen:

Code: Alles auswählen

$ gdb python
# set args testskript.py
# run
Dann solltest du - wenn es genug debug-symbole gibt - sehen koennen, wo genau das Ding kracht.
Antworten