Hello, I am trying to run a python based program on MacOSX, which needs following packages
numpy PIL matplotlib I can successfully import all 3 using python2.5 (only using /sw64/bin/python or /sw64/bin/python2.5) , although i have python2.6 and 2.7 installed. I get following error when in run executable: *"Fatal Python error: Interpreter not initialized (version mismatch?) Abort trap*" Seems like a correct python version needs to be defined somewhere, that i am unable to find. Some details about location of various pythons are as follows (i have not specified a python path in my .bashrc or .bash_profile): *$which python* /sw64/bin/python *$ ls -ltr /sw64/bin/python** -rwxr-xr-x 1 root admin 1763200 Apr 14 19:45 /sw64/bin/python2.5 -rwxr-xr-x 1 root admin 1419 Apr 14 19:45 /sw64/bin/python2.5-config -rwxr-xr-x 1 root admin 8984 Apr 14 19:47 /sw64/bin/python2.6 -rwxr-xr-x 1 root admin 1366 Apr 14 19:47 /sw64/bin/python2.6-config -rwxr-xr-x 1 root admin 8984 Apr 14 19:49 /sw64/bin/python2.7 -rwxr-xr-x 1 root admin 1550 Apr 14 19:50 /sw64/bin/python2.7-config lrwxr-xr-x 1 root admin 9 Apr 15 18:17 /sw64/bin/python -> python2.5 lrwxr-xr-x 1 root admin 16 Apr 15 18:17 /sw64/bin/python-config -> python2.5-config *$ls -ltr /System/Library/Frameworks/Python.framework/Versions* drwxr-xr-x 8 root wheel 272 Jun 7 2010 2.3 drwxr-xr-x 12 root wheel 408 Nov 30 13:46 2.5 drwxr-xr-x 12 root wheel 408 Nov 30 13:46 2.6 lrwxr-xr-x 1 root wheel 3 Apr 19 11:20 Current -> 2.5 *$ls -ltr /usr/bin/python** -rwxr-xr-x 5 root wheel 925 Jul 9 2009 /usr/bin/python-config lrwxr-xr-x 1 root wheel 76 Jun 7 2010 /usr/bin/pythonw2.6 -> ../../System/Library/Frameworks/Python.framework/Versions/2.6/bin/pythonw2.6 lrwxr-xr-x 1 root wheel 76 Jun 7 2010 /usr/bin/pythonw2.5 -> ../../System/Library/Frameworks/Python.framework/Versions/2.5/bin/pythonw2.5 lrwxr-xr-x 1 root wheel 82 Jun 7 2010 /usr/bin/python2.6-config -> ../../System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6-config lrwxr-xr-x 1 root wheel 75 Jun 7 2010 /usr/bin/python2.6 -> ../../System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 lrwxr-xr-x 1 root wheel 82 Jun 7 2010 /usr/bin/python2.5-config -> ../../System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5-config lrwxr-xr-x 1 root wheel 75 Jun 7 2010 /usr/bin/python2.5 -> ../../System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5 -rwxr-xr-x 2 root wheel 86000 Jun 25 2010 /usr/bin/pythonw -rwxr-xr-x 2 root wheel 86000 Jun 25 2010 /usr/bin/python Could someone point me to a solution? Thanks so much for your time. Yogesh
-- http://mail.python.org/mailman/listinfo/python-list