From: Ignatz R. <rat...@gm...> - 2009-07-05 21:51:26
|
Hello, I am trying to install Python on my son's iMac running OSX 10.3.9. But every time I try to launch a .py file I get an error message: "Application Python has unexpectedly quit." The message from the Terminal is: Last login: Sun Jul 5 16:55:21 on ttyp3 cd '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ site-packages/PythonCard/samples/minimal/' && '/usr/local/bin/ pythonw' '/Library/Frameworks/Python.framework/Versions/2.5/lib/ pythoWelcome to Darwin! n2.5/site-packages/PythonCard/samples/minimal/minimal.py' && echo Exit status: $? && exit 1 [No-lle-McAfees-Computer:~] nmcafee% cd '/Library/Frameworks/ Python.framework/Versions/2.5/lib/python2.5/site-packages/PythonCard/ samples/minimal/' && '/usr/local/bin/pythonw' '/Library/Frameworks/ Python.framework/Versions/2.5/lib/python2.5/site-packages/PythonCard/ samples/minimal/minimal.py' && echo Exit status: $? && exit 1 dyld: /Library/Frameworks/Python.framework/Versions/2.5/Resources/ Python.app/Contents/MacOS/Python Undefined symbols: /usr/local/lib/wxPython-unicode-2.8.3.0/lib/libwx_macud-2.8.0.dylib undefined reference to _HIThemeBrushCreateCGColor expected to be defined in Carbon Trace/BPT trap [No-lle-McAfees-Computer:PythonCard/samples/minimal] nmcafee% To install Python I started at: http://www.manning.com/sande/Installation_Instructions.html#mac Everything installed fine until step 5: "Follow this link to install PythonCard. (Choose the correct version of Mac OS X, as described on the PythonCard page.)" That led me to here: http://pythoncard.sourceforge.net/installation.html I followed the instructions for installing the version for Apple Panther, here: http://pythoncard.sourceforge.net/macosx_panther_installation.html The only differences were that I had already installed Python2.5 as instructed previously, so I didn't install MacPython-Panther-2.3-2.dmg and I had already intalled wxpython2.8 so I didn't install wxPythonOSX-2.5.2.8-panther-Py2.3.dmg I installed pythoncard, as instructed. I did not understand the "Confirming Installation" instruction and, so, did not do that. On the "Configuring PythonLauncher," I selected a .py file, opened the Information window and switched the Open With to PythonLauncher. I also selected the the box to open all .py files with PhthonLauncher. I then did the same thing with .pyw files. On the Acid Test, I double-clicked the minimal.py file. I got an error message saying, "Application Python has unexpectedly quit." I checked to make sure that wxPython and PythonCard are in the site- packages folder in Python's Lib folder. (The wxPython folder in lib/ python2.5/site-pacages/wx-2.8-mac-unicode. The Pythoncard folder is in lib/python2.5/site-packages.) I tried restarting the computer then double-clicked minimal.py again. Same result. I followed the rest of the instructions at: http://www.manning.com/sande/Installation_Instructions.html#mac and installed EasyGUI, SPE and One Big Zip. (I put the EasyGUI83 folder in Mac HD/library/frameworks/pythonframe.frameworks/versions/ 2.5/lib/python2.5/site-packages.) I restarted the computer, double clicked minimal.py. Same error message. Does anyone know how to fix this? Any help would be greatly appreciated. I know nothing about programing, so the more jargon-free the instructions the better. Please email responses to rat...@gm... Thank you. IR |