python needs a tutorial for install and setup on a Mac
I am running python on a mac and when I was getting going it was difficult to setup information. Specifically how modify bash_profile, how pythonpath works and how to set it up. how to switch between python versions. How/where to install modules if you have multiple installed versions. I am thinking about this from perspective of a new pythoner (is there a word for a person who programs in python). I think many new pythoners may be like me and don't mess with the underling UNIX on a mac. My question/suggestion is that there be a nice tutorial for this. I am wiling to contribute much but I am still somewhat new to python and may need help with some details. Also where should this be posted, how do I post it. Do other think there is a need? Any willing to help? But of course I may have missed a great tutorial out there if so I think It needs to be easier to findor I need to learn how to look. Thanks Vincent -- http://mail.python.org/mailman/listinfo/python-list
Re: python needs a tutorial for install and setup on a Mac
On Sun, Jun 21, 2009 at 9:04 PM, Vincent Davis wrote: > I am running python on a mac and when I was getting going it was difficult > to setup information. Specifically how modify bash_profile, how pythonpath > works and how to set it up. how to switch between python versions. How/where > to install modules if you have multiple installed versions. I am thinking > about this from perspective of a new pythoner (is there a word for a person > who programs in python). I think many new pythoners may be like me and don't > mess with the underling UNIX on a mac. > My question/suggestion is that there be a nice tutorial for this. I am > wiling to contribute much but I am still somewhat new to python and may need > help with some details. Also where should this be posted, how do I post it. > Do other think there is a need? Any willing to help? > But of course I may have missed a great tutorial out there if so I think It > needs to be easier to findor I need to learn how to look. > Have you seen the page at http://www.python.org/download/mac/ and the pages linked from it? -- kushal -- http://mail.python.org/mailman/listinfo/python-list
Re: python needs a tutorial for install and setup on a Mac
On 22 juin, 12:44, Kushal Kumaran wrote: > On Sun, Jun 21, 2009 at 9:04 PM, Vincent Davis > wrote: > > I am running python on a mac and when I was getting going it was difficult > > to setup information. Specifically how modify bash_profile, how pythonpath > > works and how to set it up. how to switch between python versions. How/where > > to install modules if you have multiple installed versions. I am thinking > > about this from perspective of a new pythoner (is there a word for a person > > who programs in python). I think many new pythoners may be like me and don't > > mess with the underling UNIX on a mac. > > My question/suggestion is that there be a nice tutorial for this. I am > > wiling to contribute much but I am still somewhat new to python and may need > > help with some details. Also where should this be posted, how do I post it. > > Do other think there is a need? Any willing to help? > > But of course I may have missed a great tutorial out there if so I think It > > needs to be easier to findor I need to learn how to look. > > Have you seen the page athttp://www.python.org/download/mac/and the > pages linked from it? do you think a pythonista can go further than the given example ? " >>> 2 + 2 4 " ;-) Olivier -- http://mail.python.org/mailman/listinfo/python-list
Re: python needs a tutorial for install and setup on a Mac
On 22 juin, 12:44, Kushal Kumaran > Have you seen the page athttp://www.python.org/download/mac/and the > pages linked from it? > As a (usefull) add-on : iPython (a must), I found this page a good help : http://www.brianberliner.com/2008/04/ipython-on-mac-os-x-105-leopard/ Olivier -- http://mail.python.org/mailman/listinfo/python-list
Re: python needs a tutorial for install and setup on a Mac
Switching between python version Lets assume you have python 2.4.x and now you installed 2.5.x.By default python path will point to 2.4.x. To switch to python 2.5.x, use following commands... cd /usr/bin sudo rm pythonw sudo ln -s "/Library/Frameworks/Python.framework/Versions/2.5/bin/pythonw" pythonw sudo rm python sudo ln -s pythonw python2.5 sudo ln -s python2.5 python this worked for me... do let me know if any1 has other way of doing... Rgds, aberry Vincent Davis wrote: > > I am running python on a mac and when I was getting going it was difficult > to setup information. Specifically how modify bash_profile, how pythonpath > works and how to set it up. how to switch between python versions. > How/where > to install modules if you have multiple installed versions. I am thinking > about this from perspective of a new pythoner (is there a word for a > person > who programs in python). I think many new pythoners may be like me and > don't > mess with the underling UNIX on a mac. > My question/suggestion is that there be a nice tutorial for this. I am > wiling to contribute much but I am still somewhat new to python and may > need > help with some details. Also where should this be posted, how do I post > it. > Do other think there is a need? Any willing to help? > But of course I may have missed a great tutorial out there if so I think > It > needs to be easier to findor I need to learn how to look. > > Thanks > Vincent > > -- > http://mail.python.org/mailman/listinfo/python-list > > -- View this message in context: http://www.nabble.com/python-needs-a-tutorial-for-install-and-setup-on-a-Mac-tp24135580p24146279.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list
Re: python needs a tutorial for install and setup on a Mac
aberry wrote: > > Switching between python version > Lets assume you have python 2.4.x and now you installed 2.5.x.By default > python path will point to 2.4.x. To switch to python 2.5.x, use following > commands... > > cd /usr/bin > sudo rm pythonw > sudo ln -s "/Library/Frameworks/Python.framework/Versions/2.5/bin/pythonw" > pythonw > sudo rm python > sudo ln -s pythonw python2.5 > sudo ln -s python2.5 python > > this worked for me... do let me know if any1 has other way of doing... Bad idea. It might break tools that need the /usr/bin/python to be the system's python. a simple export PATH=/Library/.../bin:$PATH inside .bashrc should be all you need. Diez -- http://mail.python.org/mailman/listinfo/python-list
Re: python needs a tutorial for install and setup on a Mac
I think a setup guide for the Mac would prove very useful. Earlier this year, I tried installing Python 2.6 on my iMac, and ran into all sorts of problems, largely as a result of the fact that I knew very little about Unix. I finally downloaded and installed the Enthought Python distribution for the Mac and it worked like a charm. -- http://mail.python.org/mailman/listinfo/python-list
Re: python needs a tutorial for install and setup on a Mac
thanks for suggestion... what should I put in 'bashrc ' so that I can switch between different version. as python command will always point to one Python framework (lets either 2.4.x or 2.5.x). regards, aberry Diez B. Roggisch-2 wrote: > > aberry wrote: > >> >> Switching between python version >> Lets assume you have python 2.4.x and now you installed 2.5.x.By default >> python path will point to 2.4.x. To switch to python 2.5.x, use following >> commands... >> >> cd /usr/bin >> sudo rm pythonw >> sudo ln -s >> "/Library/Frameworks/Python.framework/Versions/2.5/bin/pythonw" >> pythonw >> sudo rm python >> sudo ln -s pythonw python2.5 >> sudo ln -s python2.5 python >> >> this worked for me... do let me know if any1 has other way of doing... > > Bad idea. It might break tools that need the /usr/bin/python to be the > system's python. > > a simple > > export PATH=/Library/.../bin:$PATH > > inside .bashrc should be all you need. > > Diez > -- > http://mail.python.org/mailman/listinfo/python-list > > -- View this message in context: http://www.nabble.com/python-needs-a-tutorial-for-install-and-setup-on-a-Mac-tp24135580p24146713.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list
Re: python needs a tutorial for install and setup on a Mac
aberry wrote: > > thanks for suggestion... > what should I put in 'bashrc ' so that I can switch between different > version. > as python command will always point to one Python framework (lets either > 2.4.x or 2.5.x). if you want to switch, put in there three different lines, and comment that in that you need. Or write short bash-functions that replace the path. Not scripts!! They won't work. But I think if you want to switch, you are better off using fully qualified names, such as python2.5 and link these to your desired versions. Or start using virtualenvs for everything (as I do), and don't bother as you simply activate the one you want before using python. Diez -- http://mail.python.org/mailman/listinfo/python-list
Re: python needs a tutorial for install and setup on a Mac
On Jun 22, 2009, at 8:56 AM, aberry wrote: thanks for suggestion... what should I put in 'bashrc ' so that I can switch between different version. as python command will always point to one Python framework (lets either 2.4.x or 2.5.x). Something like this would work: alias py25='/Library/Frameworks/Python.framework/Versions/2.5/bin/ pythonw' Diez B. Roggisch-2 wrote: aberry wrote: Switching between python version Lets assume you have python 2.4.x and now you installed 2.5.x.By default python path will point to 2.4.x. To switch to python 2.5.x, use following commands... cd /usr/bin sudo rm pythonw sudo ln -s "/Library/Frameworks/Python.framework/Versions/2.5/bin/pythonw" pythonw sudo rm python sudo ln -s pythonw python2.5 sudo ln -s python2.5 python this worked for me... do let me know if any1 has other way of doing... Bad idea. It might break tools that need the /usr/bin/python to be the system's python. a simple export PATH=/Library/.../bin:$PATH inside .bashrc should be all you need. Diez -- http://mail.python.org/mailman/listinfo/python-list -- View this message in context: http://www.nabble.com/python-needs-a-tutorial-for-install-and-setup-on-a-Mac-tp24135580p24146713.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Re: python needs a tutorial for install and setup on a Mac
tkp...@hotmail.com wrote: > I think a setup guide for the Mac would prove very useful. Earlier > this year, I tried installing Python 2.6 on my iMac, and ran into all > sorts of problems, largely as a result of the fact that I knew very > little about Unix. I finally downloaded and installed the Enthought > Python distribution for the Mac and it worked like a charm. > Exactly why I think this is needed. I did the same thing, installed Enthought. Then I wanted to use 2.6 and now 3.0.1 . I have all versions installed. They work and I know how to switch between but not so sure what s going on when I things a package. I should not require lots of googling for the answers. The mailing lists are great and everyone is helpful but do you really want to answer the same questions again and agian. Kushal Kumaran "Have you seen the page at http://www.python.org/download/mac/ and the pages linked from it? Yes I have as I am sure tkp...@hotmail.com and did not find it usefull, or I should say only a little. So I still have no answer, There seems to be a need but, no one has said "post it hear" or volunteered to help. Am I going about this wrong? Thanks Vincent -- http://mail.python.org/mailman/listinfo/python-list
Re: python needs a tutorial for install and setup on a Mac
Kushal Kumaran wrote: On Sun, Jun 21, 2009 at 9:04 PM, Vincent Davis wrote: I am running python on a mac and when I was getting going it was difficult to setup information. Specifically how modify bash_profile, how pythonpath works and how to set it up. how to switch between python versions. How/where to install modules if you have multiple installed versions. I am thinking about this from perspective of a new pythoner (is there a word for a person who programs in python). I think many new pythoners may be like me and don't mess with the underling UNIX on a mac. My question/suggestion is that there be a nice tutorial for this. I am wiling to contribute much but I am still somewhat new to python and may need help with some details. Also where should this be posted, how do I post it. Do other think there is a need? Any willing to help? But of course I may have missed a great tutorial out there if so I think It needs to be easier to findor I need to learn how to look. The Python doc set includes Using Python. Chapter 4 is ... on a Macintosh. If you think that is inadequate, start a new issue on the tracker (after searching for existing Mac doc issues). Python is a volunteer enterprise, and Python-Mac is a relatively small subset of volunteers, so feel free to help. Have you seen the page at http://www.python.org/download/mac/ and the pages linked from it? It is possible that the chapter should include material from or link to material in other pages. tjr -- http://mail.python.org/mailman/listinfo/python-list