MacPython 3.0.1 installation problem, no /usr/local/bin/python*

Benjamin Kaplan benjamin.kaplan at case.edu
Sat May 9 10:35:42 EDT 2009


On Sat, May 9, 2009 at 4:30 AM, Raoul Gough <bvdmyrby at jyxk16274849.net>wrote:

> I just installed MacPython 3.0.1 (woot!) but the installer didn't seem
> to do an absolutely complete job. According to the ReadMe.txt, "The
> installer puts [...] command-line tools in /usr/local/bin [...]". This
> didn't happen - even after the install reported Success, there were no
> python files or symlinks under /usr/local/bin.
>
> Also, I'm guessing there should have been a symlink to the current
> version under /Library/Frameworks/Python.framework/Versions, which
> wasn't there either:
>
> $ cd /Library/Frameworks/Python.framework
> $ ls -l Python
> lrwxr-xr-x  1 root  admin  23 May  9 08:34 Python ->
> Versions/Current/Python
> $ ls -l Versions/Current
> ls: Versions/Current: No such file or directory
>
> So I fixed this all up as follows:
>
> $ cd /Library/Frameworks/Python.framework/Versions
> $ sudo ln -s 3.0 Current
> $ cd /usr/local/bin
> $ sudo ln -s $(find
> /Library/Frameworks/Python.framework/Versions/Current/bin -type f) .
>
> So did something go wrong with the installer, or is it all supposed to
> work somehow differently?
>

Because Python 3 breaks compatibility with Python 2, the installers don't
install it as the default. The executable should be at
/usr/local/bin/python3.0



>
> --
> Raoul Gough.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090509/b211b3a2/attachment.html>


More information about the Python-list mailing list