January 17th, 2013, 02:22 PM
Installing Python 3.3 on OS X
So I'm trying to upgrade OS X Mountain Lion's version of Python (2.7) to 3.3 I've installed Tcl/TK and run the Python 3.3 installer.
The installer puts a program called Python Launcher.
When I type in "Python" at the terminal shell prompt I'm still getting Python 2.7.
I'm able to open scripts with the Python Launcher app from the 3.3 install, but I'm unable to get to a command prompt for Python 3.3.
My apologies for being such a n00b. I'm just not sure how to use 3.3 in OS X at this point, and how to access it from the BASH shell.
Update: Ok, I guess I just type "Python3.3" to invoke it. Sorry about the lame question, but maybe someone else will see this post in the future.
January 17th, 2013, 03:40 PM
Glad you solved it.
You *should* have command completion. Type
then hit the tab key.
[/code] are essential for python code and Makefiles!
January 17th, 2013, 04:19 PM
Thank you for the suggestion. Command completion gives me a lot of options, including "Python3" which is a bit simpler.
python python2.7 python3.3-32 pythonw2.6
python-config python2.7-config python3.3-config pythonw2.7
python2.5 python3 python3.3m pythonw3
python2.5-config python3-32 python3.3m-config pythonw3-32
python2.6 python3-config pythonw pythonw3.3
python2.6-config python3.3 pythonw2.5 pythonw3.3-32