[Pythonmac-SIG] python3 on my mac

Dan blufur at gmail.com
Thu Dec 25 19:31:46 CET 2008


Thanks for requesting clarification.  I am running Leopard (10.5.6) I  
installed from source - and just used the standard:

    ./configure
     make
     make test
     sudo make install

I searched the archives of this discussion group, and learned I could  
see where all pythons are installed, and here's what things look like  
on my system:

DMS-MacBook-2:~ dan$ ls -l /usr/local/bin/python*
lrwxr-xr-x  1 root  wheel       68 Oct  8 10:31 /usr/local/bin/python - 
 > ../../../Library/Frameworks/Python.framework/Versions/2.6/bin/python
lrwxr-xr-x  1 root  wheel       75 Oct  8 10:31 /usr/local/bin/python- 
config -> ../../../Library/Frameworks/Python.framework/Versions/2.6/ 
bin/python-config
lrwxr-xr-x  1 root  wheel       71 Oct  8 10:31 /usr/local/bin/ 
python2.6 -> ../../../Library/Frameworks/Python.framework/Versions/2.6/ 
bin/python2.6
lrwxr-xr-x  1 root  wheel       78 Oct  8 10:31 /usr/local/bin/ 
python2.6-config -> ../../../Library/Frameworks/Python.framework/ 
Versions/2.6/bin/python2.6-config
-rwxr-xr-x  1 root  wheel  1658332 Dec 21 19:40 /usr/local/bin/python3.0
-rwxr-xr-x  1 root  wheel     1401 Dec 21 19:41 /usr/local/bin/ 
python3.0-config
lrwxr-xr-x  1 root  wheel       69 Oct  8 10:31 /usr/local/bin/pythonw  
-> ../../../Library/Frameworks/Python.framework/Versions/2.6/bin/pythonw
lrwxr-xr-x  1 root  wheel       72 Oct  8 10:31 /usr/local/bin/ 
pythonw2.6 -> ../../../Library/Frameworks/Python.framework/Versions/ 
2.6/bin/pythonw2.6

As of now, if I type "python" at the terminal, it starts up  
interactive python version 2.6
If I type "python3.0", it starts interactive python 3.0

If I type "IDLE" it actually seems to open a window that says "python  
shell" and is running python 3.0 (even says IDLE 3.0 above prompt).

But there's no menu for debugging, etc.

So what I'm wondering is:
1. Should I have used altinstall (i.e. did I possibly break something  
by just using sudo make install? Can you all tell from those python  
version links above if I've screwed things up on my system?).
2. If so, can I undo what I've done?
3. How can I get the full version of IDLE running with the menu bar  
across the top?
4. Is there some online resource I could have used to do this  
properly?  The links from python.org for mac info seems to be a bit  
out of date...

Thanks for your help, and I apologize for my ignorance as someone new  
to all this.


On Dec 25, 2008, at 1:22 PM, Nehemiah Dacres wrote:

> I take it you're installing from source? or from macports? name the  
> method  and we might be able to help you
>
> On Thu, Dec 25, 2008 at 11:34 AM, Dan <blufur at gmail.com> wrote:
> HI everyone.  Wondering if anyone can help a newbie.  I tried  
> installing python 3 on my mac and think I messed up a bit:
>
> 1. I didn't do the altinstall option.  Is this really bad, and  
> should I uninstall and try again? Right now I have to type  
> "python3.0" to get it to work at terminal screen
> 2. If so, how can I uninstall? Would time machine be of any help here?
> 3. I can't seem to get IDLE to work, especially with Python 3 (when  
> I run it from terminal it has no menu bar and i think it's using  
> python 2.x)
>
> Any help would be greatly appreciated.  Hopefully I didn't  
> permanently screw up my mac's python installation...
>
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
>
>
> -- 
>
> "lalalalala! it's not broken because I can use it"
>
> http://linux.slashdot.org/comments.pl?sid=194281&threshold=1&commentsort=0&mode=thread&cid=15927703



More information about the Pythonmac-SIG mailing list