How to Install Python 3.x on Leopard or Snow Leopard

So, I’m starting to do a lot of College work here at RIT.  For our CS class, we are using Python instead of Java.  It has it’s quirks, and I could go into many details about why Python is dumb, and why Python is really cool.  But that is for another day.  Today, I am going to explain how to get Python running the quickest on Leopard and Snow Leopard.

Why?  Because the Python that comes with Leopard and Snow Leopard is out of date, and it doesn’t get updated with the system.  While you can use Xcode to code in Python, I’ve been using IDLE, because that is what the class is using.  Trust me, I’d like to use something else too, but I’m not.

So, here we go.

  1. Go to the Python Download page and go to the newest version page, (at the time of writing, that was Python 3.1.1)
  2. Download the Mac Installer Image.  (Here it is for 3.1.1).
  3. Mount the DMG file and install “Python.mpkg.”
  4. After installation, go back to the DMG and right click on “Python.mpkg” and hit “Show Package contents.”
  5. Navigate:  Contents -> Packages -> PythonApplications-3.1.pkg
  6. Install “PythonApplications-3.1.pkg” (or whatever version you are using).
  7. You’re done!  Now if you go to your Applications folder you will find a folder named “Python 3.1” or whatever version.  Open it, and you can run “IDLE” that gives you the command prompt for Python.
Advertisements

~ by wayfarer247 on October 5, 2009.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: