TurboGears Installation on Mac OS X

I need Python 2.4

  1. Download MacPython 2.4.1
  2. Run the installer
  3. If you are running Tiger (Mac OS 10.4), you also need the TigerPython24Fix
  4. Make sure that /usr/local/bin appears before /usr/bin in your path! You can use the command echo $$PATH to check. If it's not there, here are some tips for changing it.
  5. Continue on to the instructions to install TurboGears using ez_setup

How do I change my path on Mac OS X?

Mac OS X is unix-like under the hood. There are many ways to accomplish just about anything, including setting your path.

A good description for adding /usr/local/bin to your path, can be found in this MacDevCenter article. If you look at the "Laying the Groundwork" section, you'll find a discussion about setting the path just after the command "php -v" is listed.

Note that the methods listed in that article only apply to the user you're logged in as. To adjust the path for all users, you can edit the /etc/profile file.