The Digital Librarian

26 Apr, 2009

Installing Django on Leopard

Posted by: jaf In: Django|Programming|Python

Here are the steps I went through to install Django on Mac OSX Leopard:

First, I followed the steps on this page to get IDLE support (which I may or may not use, but I figured couldn’t hurt).

I then downloaded the latest official version from http://www.djangoproject.com/download/

and followed the instructions for installing from the tarball.

And that seemed to work. The tutorial works fine – I can create a new project and run a development web server. I can synchronize the database using SQLite3. However, when I try switching to MySQL, I get some nasty errors when running ‘python manage.py syncdb’. So, I found this page, which gives the precise steps needed to get python talking to MySQL correctly on Leopard.

After that, everything is apparently working! Not too horrible – just getting the MySQL connection working was a bit tricky, but otherwise, I’m now able to start working with Django.

No Responses to "Installing Django on Leopard"

Comment Form

Tweets

  • Apple's Ping would be much better if you could post and like on music in your library, not just music in the itunes store.
    2010/09/03 09:11
  • trying out Siri
    2010/08/25 06:13
  • NBP: Librarians are *the* search experts...
    http://digitallibrarian.org/?p=121
    2010/08/19 13:49
  • NBP: What do we want from Discovery? Maybe it's to save the time of the user....
    http://digitallibrarian.org/?p=119
    2010/08/18 12:05
  • Replaced car battery. Onto super scooby doo secret project fun.
    2010/08/16 18:33

Flickr PhotoStream

  • RepoMtg Whiteboard1RepoMtg Whiteboard2RepoMtg Whiteboard3DSCF1471

About

Jeremy Frumkin is the Chief Technology Strategist and Assistant Dean for the University of Arizona Libraries.

He is available as a consultant - please see the about page for contact information.