[Pythonmac-SIG] Installing Pygame
Hi, I am using a Mac PPC with Tiger 10.4.11 and I recently downloaded and installed Python 2.6.2. and I am having difficulties getting started. I purchased Python Programming, 2nd Ed. for the absolute beginner by Michael Dawson because he uses games to teach programming and the book got great reviews at Amazon.com. When I opened the CD that came with the Python book I could not open the software (Pygame, Livewires, etc.) and there was no reference to Mac or Windows unless it was in the file names which I don't know. I went to Pygame website http://www.pygame.org/download.shtml Macintosh to download Pygame These are packages for the python from python.org, not the system python. These packages work with OSX 10.3.9 upwards. # pygame-1.8.1release-py2.5-macosx10.5.zip # pygame-1.8.1release-py2.4-macosx10.5.zip # pyobjc-1.4-py2.5-macosx10.4.mpkg.zip - pyobjc is needed for OSX 10.3, 10.4, and 10.5. and for the first time using this Mac I couldn't install anything. All three installation attempts ended with a red exclamation point over the Macintosh HD icon and a button saying Go Back. The Continue button was grayed out. What am I missing? Setting up Python to learn through Dawson's book is becoming too much for me and I haven't even looked at Livewires and the other stuff. Has any Mac users here worked with this book or know where I can go for further assistance? I'm just about ready to send it back to Amazon.com (along with another book by Dawson called Beginning C++ Through Game Programming, 2nd Ed which I haven't even looked at yet). Apparently I have a lot to learn before I can even start to learn programming through games – my ambitions have greatly exceeded my capabilities. Any assistance regarding this matter would be greatly appreciated. If there's a better or more useful place to post this message please let me know. Thank you.___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
[Pythonmac-SIG] Installing Pygame
I am using a Mac PPC with Tiger 10.4.11 and I recently downloaded and installed Python 2.6.2. and I am having difficulties getting started. I purchased Python Programming, 2nd Ed. for the absolute beginner by Michael Dawson because he uses games to teach programming and the book got great reviews at Amazon.com. When I opened the CD that came with the Python book I could not open the software (Pygame, Livewires, etc.) and I could find no reference to Mac or Windows unless it was in the file names which I don't know. I went to the Pygame website http://www.pygame.org/download.shtml Macintosh to download Pygame These are packages for the python from python.org, not the system python. These packages work with OSX 10.3.9 upwards. # pygame-1.8.1release-py2.5-macosx10.5.zip # pygame-1.8.1release-py2.4-macosx10.5.zip # pyobjc-1.4-py2.5-macosx10.4.mpkg.zip - pyobjc is needed for OSX 10.3, 10.4, and 10.5. and for the first time using this Mac I couldn't install anything. All three installation attempts ended with a red exclamation point over the Macintosh HD icon and a button saying Go Back. The Continue button was grayed out. In the Pygame Readme it says, Installation You should definitely begin by installing a binary package for your system. The binary packages usually come with or give the information needed for dependencies. Choose an appropriate installer for your system and version of python from the pygame downloads page. http:// www.pygame.org/download.shtml I don't know what a binary package is or where to get one. Nor do I know what dependencies are. Apparently I have a lot to learn before I can even start to learn programming through games – my ambitions have greatly exceeded my present capabilities. Any assistance regarding this matter would be greatly appreciated. If there's a better or more useful place to post this message please let me know. Thank you. P.S. I like the idea of learning programming through games so much that I also purchased Dawson's highly rated book Beginning C++ Through Game Programming, 2nd Ed which I haven't looked at yet. I don't want to open the CD in case I have to send both books back to Amazon.com which I don't really want to do. Has anyone here used Michael Dawson's books and can they be made to work on a Mac? Thanks again. ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
Re: [Pythonmac-SIG] Installing Pygame
On Sun, Jun 28, 2009 at 6:14 PM, artha...@sbcglobal.net wrote: Hi, I am using a Mac PPC with Tiger 10.4.11 and I recently downloaded and installed Python 2.6.2. and I am having difficulties getting started. I purchased Python Programming, 2nd Ed. for the absolute beginner by Michael Dawson because he uses games to teach programming and the book got great reviews at Amazon.com. When I opened the CD that came with the Python book I could not open the software (Pygame, Livewires, etc.) and there was no reference to Mac or Windows unless it was in the file names which I don't know. I went to Pygame website http://www.pygame.org/download.shtml Macintosh to download Pygame These are packages for the python from python.org, not the system python. These packages work with OSX 10.3.9 upwards. # pygame-1.8.1release-py2.5-macosx10.5.zip # pygame-1.8.1release-py2.4-macosx10.5.zip # pyobjc-1.4-py2.5-macosx10.4.mpkg.zip - pyobjc is needed for OSX 10.3, 10.4, and 10.5. and for the first time using this Mac I couldn't install anything. All three installation attempts ended with a red exclamation point over the Macintosh HD icon and a button saying Go Back. The Continue button was grayed out. What am I missing? Setting up Python to learn through Dawson's book is becoming too much for me and I haven't even looked at Livewires and the other stuff. Has any Mac users here worked with this book or know where I can go for further assistance? I'm just about ready to send it back to Amazon.com (along with I haven't used Pygame, but you could try installing Fink (http://www.finkproject.org/index.php) and then installing Python and Pygame through it. I've had very good experiences installing Python packages thru Fink. Cheers, Chris -- http://blog.rebertia.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
Re: [Pythonmac-SIG] Installing Pygame
My two cents: Don't try to install a new Python on OS X. Just use /usr/bin/python. artha...@sbcglobal.net wrote: I am using a Mac PPC with Tiger 10.4.11 and I recently downloaded and installed Python 2.6.2. and I am having difficulties getting started. What are you trying to do, learn Python? If so, don't mess around with games or any other package that requires you to use lots of extra packages that don't come with the standard Python. The Python that comes with Tiger is 2.3.5, a bit out of date but very stable and a good starting point. Work through the Python tutorial at http://www.python.org/doc/2.3.5/tut/tut.html. I purchased Python Programming, 2nd Ed. for the absolute beginner by Michael Dawson because he uses games to teach programming and the book got great reviews at Amazon.com. Well, games are great, once you know what you're doing. One step at a time. I don't see any pygame downloads for 10.4, so I wouldn't try to use it till I had some understanding of how to build it from scratch. Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
Re: [Pythonmac-SIG] Installing Pygame
On Jun 29, 2009, at 5:07 PM, Bill Janssen wrote: I don't see any pygame downloads for 10.4, so I wouldn't try to use it till I had some understanding of how to build it from scratch. From Macintosh section on http://pygame.org/download.shtml These are packages for the python from python.org, not the system python. These packages work with OSX 10.3.9 upwards. Note - you will need to use the pyobjc installer (first) as well. Cheers, Dav ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
Re: [Pythonmac-SIG] Installing Pygame
(I accidentally sent this just to arthamax) Pygame is the most difficult package I've installed by hand on the mac. I suspect the fink approach would be the easiest if you insist on python 2.6 and it supports pygame all with binary packages. I use MacPorts, which I've found to be more up-to-date and integrated with OSX (at least for scientific python type stuff), but with that you'll be building software for a good many hours! The nastiest requirement for building pygame was pyobjc. Now that you can easy-install pyobjc, it is a lot easier, but still non-trivial. There are also a number of SDL frameworks that need to be installed. And also numpy. You will also need to install Xcode and also a fortran compiler. You'll probably want to install a recent setuptools as well to get easy-install. The installers for pygame are pretty simple-minded - they will only install to a framework build (which you download from python.org, NOT pre-installed on your system) of the corresponding version (i.e. 2.4 or 2.5). BUT - if you install a framework build of python 2.4 or 2.5, the pygame (and pyobjc) installers do it all. Honestly, you will gain little by the latest-and-greatest python 2.6.2. Python 2.5 supports most modern python idioms, and you can just run the pygame installer and you're done. Your book includes a windows installer for python 2.3! So, I'm sure you won't miss much. If I were starting a new project that didn't really depend on pygame, I'd use pyglet. Based on my minimal experience, it is far easier to install and somewhat nicer with its event-loop semantics and text handling. You might also look at vpython for a graphics presentation framework that was designed with teaching in mind - they have some nice tutorials on their homepage. Cheers, Dav On Jun 29, 2009, at 12:30 PM, artha...@sbcglobal.net wrote: I am using a Mac PPC with Tiger 10.4.11 and I recently downloaded and installed Python 2.6.2. and I am having difficulties getting started. ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig