I'm a newbie, in over my head, and I'm getting the same error message, but I think my circumstances are a little different. Anyone care to point me in the right direction?
What I did, starting with a MacBook running 10.5: - upgrade to MacPython binary - install macports - per http://trac.mapnik.org/wiki/MacInstallation, run "sudo port install libpng jpeg libgeotiff icu jam" - again per http://trac.mapnik.org/wiki/MacInstallation, run "sudo port install boost +python25 +icu" which put the boost libs in /opt/local/lib - build and install mapnik from svn checkout - launch python, try to import mapnik, get "Fatal Python error: Interpreter not initialized (version mismatch?)" message I'm not sure which dependency has the version mismatch since, unlike Matt, I don't have a previous version of boost anywhere. Any idea which of the following should be my red flag? $ otool -L /Library/Frameworks/Python.framework/Versions/Current/lib/python2.5/site-packages/mapnik/_mapnik.so /Library/Frameworks/Python.framework/Versions/Current/lib/python2.5/site-packages/mapnik/_mapnik.so: /Library/Frameworks/Python.framework/Versions/2.5/Python (compatibility version 2.5.0, current version 2.5.0) libmapnik.dylib (compatibility version 0.0.0, current version 0.0.0) /opt/local/lib/libpng12.0.dylib (compatibility version 34.0.0, current version 34.0.0) /opt/local/lib/libjpeg.62.dylib (compatibility version 63.0.0, current version 63.0.0) /opt/local/lib/libboost_python-mt-1_35.dylib (compatibility version 0.0.0, current version 0.0.0) /opt/local/lib/libicuuc.40.dylib (compatibility version 40.0.0, current version 40.0.0) /opt/local/lib/libicudata.40.dylib (compatibility version 40.0.0, current version 40.0.0) /opt/local/lib/libboost_regex-mt-1_35.dylib (compatibility version 0.0.0, current version 0.0.0) /opt/local/lib/libboost_thread-mt-1_35.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) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.1) Thanks. - Katie Matt Bartolome wrote: > > I recently upgraded to the MacPython binary off python.org because I > needed the python framework not included in the built-in mac python > (lame) for another project. I guess I could have built from source but > I liked how the binary kept everything clean and it was relatively > straight forward to get going. I was curious enough to then rebuild > mapnik against the new binary, problems problems problems ensued (not > related to mapnik)... I imagine this will bite anybody who upgrades > their core python and tries to rebuild mapnik and also happens to have > the boost libs built from macports. > -- View this message in context: http://www.nabble.com/Fatal-Python-error%3A-Interpreter-not-initialized-%28version-mismatch-%29%3A-possible-solution-%28leopard%29-tp19484546p20610808.html Sent from the Mapnik - Users mailing list archive at Nabble.com. _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

