I've been working on getting Visual Python working through DarwinPorts, and I've gotten the thing to compile, but I've hit a snag and I'm not sure how to debug it. In particular, when I try to import visual, python dies thus:
Python 2.4.3 (#1, Jun 20 2006, 14:17:56) [GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from visual import * Fatal Python error: Interpreter not initialized (version mismatch?) zsh: abort python When I check with otool -L on the .so that Visual Python installed, I see this: /opt/local/lib/python2.4/site-packages/cvisualmodule.so: /opt/local/Library/Frameworks/Python.framework/Versions/2.4/Python (compatibility version 2.4.0, current version 2.4.0) /opt/local/lib/libgtk-1.2.0.dylib (compatibility version 10.0.0, current version 10.1.0) /opt/local/lib/libgdk-1.2.0.dylib (compatibility version 10.0.0, current version 10.1.0) /opt/local/lib/libgmodule-1.2.0.dylib (compatibility version 1.0.0, current version 1.10.0) /opt/local/lib/libglib-1.2.0.dylib (compatibility version 1.0.0, current version 1.10.0) /opt/local/lib/libintl.3.dylib (compatibility version 8.0.0, current version 8.3.0) /usr/X11R6/lib/libXext.6.dylib (compatibility version 6.4.0, current version 6.4.0) /usr/X11R6/lib/libX11.6.dylib (compatibility version 6.2.0, current version 6.2.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.5) /usr/X11R6/lib/libGL.1.dylib (compatibility version 1.2.0, current version 1.2.0) /usr/X11R6/lib/libGLU.1.dylib (compatibility version 1.3.0, current version 1.3.0) /opt/local/lib/libgthread-1.2.0.dylib (compatibility version 1.0.0, current version 1.10.0) /opt/local/lib/libboost_python-1_33_1.dylib (compatibility version 0.0.0, current version 0.0.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) Which tells me that I'm linking against (I think) the right framework for the interpreter to be initialized. Can anyone steer me in the right direction for debugging this? Thanks, Augie Fackler _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig