Running Django locally on Mac OS X, error with database connection

2007-02-23 Thread Benjamin Chait
I followed the instructions at http://www.rhonabwy.com/wp/2006/07/20/installing-django-on-macos-x-development-version/ on installing locally, and that all worked out. However, when I get to the syncdb command in the first tutorial, it gives an error. Additionally, running the "python manage.py r

Re: Running Django locally on Mac OS X, error with database connection

2007-02-23 Thread Benjamin Chait
e're > essentially installing a newer copy of Python in addition to the one that > comes built in with MacOS X, and we need to make sure to be using the right > one (in this case, the newer one). > > You might need to redo the steps of downloading Django and running > setup.p

Re: Running Django locally on Mac OS X, error with database connection

2007-02-23 Thread Benjamin Chait
gt; you did the "sudo port install sqlite3 py-sqlite python24" command. > > On 2/23/07, Benjamin Chait <[EMAIL PROTECTED]> wrote: > > > > > I did add those lines, but it does look like that's what's causing a > > problem. > > > >From you

Re: Running Django locally on Mac OS X, error with database connection

2007-02-23 Thread Benjamin Chait
quot; do you get Python > 2.4.something? > > What's the result of "echo $PATH"? (it may be a path ordering issue) > > On 2/23/07, Benjamin Chait <[EMAIL PROTECTED]> wrote: > > > > > >From Terminal: > > > benjamin-chaits-powerbook-g4-1

Re: Running Django locally on Mac OS X, error with database connection

2007-02-23 Thread Benjamin Chait
o land. > > If you invoke "ls -l /opt/local/bin", what's the result? > > On 2/23/07, Benjamin Chait <[EMAIL PROTECTED]> wrote: > > > > > Hmm, that gave an error: > > > benjamin-chaits-powerbook-g4-15:~ benjaminchait$ /opt/local/bin/python &g

Re: Running Django locally on Mac OS X, error with database connection

2007-02-23 Thread Benjamin Chait
t settings appropriately for Django to work? Thanks so very much for your help! On Feb 23, 2:20 pm, "Benjamin Chait" <[EMAIL PROTECTED]> wrote: > And the mystery becomes more intriguing ... a missing Python 2.4 > install? > > benjamin-chaits-powerbook-g4-15:~ benjaminchait$

Re: Running Django locally on Mac OS X, error with database connection

2007-02-23 Thread Benjamin Chait
ocess (download, run sudo > python.setup install) again. After that, as long as the /opt... set is > earlier on the path, you won't have any trouble. > > Do check to make sure that "/opt/local/bin" comes before "/usr/local" or any > of the others when you

Re: Running Django locally on Mac OS X, error with database connection

2007-02-24 Thread Benjamin Chait
ith 2 copies of python on your machine - the one from > Apple, and the newer 2.4 version. You want to make sure and install Django > into the newer 2.4 libraries - as it's the version that has the built in > Sqlite support. > > -joe > > On 2/23/07, Benjamin Chait <[EMAIL PR