short vesion:
how do i make ‘python’ in bash (os x 10.3.9) mean:
/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
rather than whatever it means now?
long version:
just attempted to install a new version of python. it failed but probably worked nearly fully. typing
/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
on the command line gives
Python 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
>>> print “hello”
hello
>>>
so it seems to work ok. but typing python results in the old version of python running. how to make ‘python’ mean the new python rather than the old one?
thanks.