[TxMt] Re: using python 3.0.1
Daryl Spitzer
daryl.spitzer at gmail.com
Fri Mar 13 16:01:27 UTC 2009
I haven't installed Python 3.x on my machine--I'm using the Python
2.5.1 that comes with Mac OS X 10.5. So I'm guessing below--I might
be wrong.
`which python` returns /usr/bin/python on my machine. And `ls -l
/usr/bin/python` shows it's a symbolic link to
/System/Library/Frameworks/Python.framework/Versions/2.5/bin/python.
`ls -l /System/Library/Frameworks/Python.framework/Versions/` shows:
drwxr-xr-x 7 root wheel 238 Feb 21 2008 2.3
drwxr-xr-x 12 root wheel 408 Feb 15 21:47 2.5
lrwxr-xr-x 1 root wheel 3 Feb 21 2008 Current -> 2.5
If Python 3.0.1 is installed in
/System/Library/Frameworks/Python.framework/Versions/ on your machine,
you may just need to change the /usr/bin/python symbolic link to point
to /System/Library/Frameworks/Python.framework/Versions/3.0/bin/python.
(And you may also want to change the
/System/Library/Frameworks/Python.framework/Versions/Current symbolic
link to point to
/System/Library/Frameworks/Python.framework/Versions/3.0.)
--
Daryl
On Fri, Mar 13, 2009 at 8:33 AM, Christian <maillists at gmx.de> wrote:
> Hi list,
>
> I started python and therefore I downloaded v3.0.1 as a dmg and
> installed it.
>
> If I test the version in the terminal with
>
> python -V
>
> it returns
>
> Python 2.5.1
>
> The same is used within Textmate.
>
> I thought the old one will be updated with the new version... How
> could I used the new version of python and where got it installed?
>
>
> Thanks in advance
> Christian
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
More information about the textmate
mailing list