[Pythonmac-SIG] python3 on my mac
Dan
blufur at gmail.com
Thu Dec 25 20:17:34 CET 2008
Thanks everyone so far for the help.
In regard to IDLE - right now when I type IDLE at the terminal I get a
python shell that looks like the attached image (myidle.jpg). As you
can see there is no real GUI with menu, as opposed to the full IDLE
program (see http://en.wikipedia.org/wiki/File:Idle_gui.png) that
usually includes "File, Edit, Shell, Debug, Options, Windows, Help...
Any suggestions about how to get that running on my mac, especially
using Python 3.0 as the interpreter?
Happy Holidays to everyone.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: myidle.jpg
Type: image/jpeg
Size: 16692 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20081225/34d33844/attachment-0001.jpg>
-------------- next part --------------
> On Dec 25, 2008, at 2:02 PM, Sean DiZazzo wrote:
>
>> You didn't hurt your system install. I've been running python
>> built from source like that alongside my system python for years
>> with no problems.
>>
>> Not sure about IDLE... Mine works fine with 2.5.2 compiled and
>> installed as you did.
>>
>> I'm curious of what the real benefits of installing python as a
>> framework are, and what exactly it means to be a 'framework' Maybe
>> it makes python more accessible to other parts of the OS? Maybe it
>> helps when compiling mixed language packages...ie PyObjC or PyQT?
>> I'm grabbing at straws... Google would probably help, but it's
>> Christmas, and I think the group could benefit from knowing as well!
>>
>> Merry Christmas!
>>
>> ~Sean
>>
>>
>> On Thu, Dec 25, 2008 at 10:31 AM, Dan <blufur at gmail.com> wrote:
>> 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
>>
>> _______________________________________________
>> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>>
>
More information about the Pythonmac-SIG
mailing list