From: Martin C. <cos...@wa...> - 2006-12-05 22:27:51
|
Dethe Elza wrote: > On 4-Dec-06, at 3:28 PM, Martin Costabel wrote: > >> Dethe Elza wrote: >> [] >>> python [vpython script] >>> Which results in: >>> Fatal Python error: Interpreter not initialized (version >>> mismatch?) >>> Abort trap >> Which python does your "python" command run? Is it the same as the >> one into whose site-packages directory the visual module was >> installed? And the same as used for compiling vpython and boost1.33? > > /sw/bin/python is the first python in my path and points to /sw/bin/ > python2.5 As far as I can tell, it should be the same for all of > these cases. Hmm, if you run "otool -L" on the cvisualmodule.so and on libboost_python.dylib, does any Python.framework or other libpython still show up? >> With Fink, if you install for example the python25 package, you >> don't get a "python" executable, only "python2.5". You have to >> install additionally the "python" package which creates a symlink >> between /sw/bin/python2.5 and /sw/bin/python. > > I already added that symlink manually. Does the python package do > more than that? Not much more; it makes additional symlinks for idle, pydoc, smtpd.py, and for the python.1 man page. > I don't know if I remembered to note this in my earlier mail, but the > tip you gave about renaming -lboost_python to /sw/lib/ > libboost_python.a worked to get a working VPython, though still > crashing frequently. Did you look at the crash logs in ~/Library/Logs/CrashReporter/? Is there anything systematic jumping out from them? -- Martin |