Re: Help installing Psycopg2 and/or MySQL-python on OS X

2007-09-03 Thread jfagnani
I used to install and compile all my components by hand, but I recently switched to using MacPorts, and I highly recommend it. I installed everything: Apache 2, MySQL, Python 2.5, mod_python, py- mysql from macports and it just works together. Macports has a psycopg2 package. On Sep 2, 4:04 pm,

Re: Help installing Psycopg2 and/or MySQL-python on OS X

2007-09-02 Thread Brandon Taylor
Thank you very much to everyone for your help. It took a few tries, but I finally got the paths configured correctly in my setup.conf for psycopyg. I'm working through the first tutorial. Looks like I need to grab the newest Django source from subversion. But, I'm able to create and sync my

Re: Help installing Psycopg2 and/or MySQL-python on OS X

2007-09-02 Thread Nick Fishman
On Sep 2, 9:37 pm, "Todd O'Bryan" <[EMAIL PROTECTED]> wrote: > Looks like you're missing some header files... > > Maybe postgres didn't put everything where it needed to be. You also may > need the dev packages for postgres. The problem is, indeed, in the development packages. There's a package

Re: Help installing Psycopg2 and/or MySQL-python on OS X

2007-09-02 Thread James Bennett
On 9/2/07, Brandon Taylor <[EMAIL PROTECTED]> wrote: > I have Python 2.5.1 and Django installed and running on OS X 10.4.10, > but can't seem to get either the Psycopg2 or MySQL-python bindings > installed so I can actually use a database with Django. For Mac, this is the easiest way to get the

Re: Help installing Psycopg2 and/or MySQL-python on OS X

2007-09-02 Thread Todd O'Bryan
Looks like you're missing some header files... On Sun, 2007-09-02 at 16:14 -0700, Brandon Taylor wrote: > Hi Todd, > > Here is a copy of my terminal session: > > running install > running build > running build_py > running build_ext > Warning: /bin/sh: line 1: pg_config: command not found

Re: Help installing Psycopg2 and/or MySQL-python on OS X

2007-09-02 Thread Griffin Caprio
You may need to edit the setup.cfg file to point to the correct location of your pg_config file. For example: /usr/local/pgsql/bin. - Griffin On Sep 2, 2007, at 6:14 PM, Brandon Taylor wrote: > > Hi Todd, > > Here is a copy of my terminal session: > > running install > running build >

Re: Help installing Psycopg2 and/or MySQL-python on OS X

2007-09-02 Thread Brandon Taylor
Hi Todd, Here is a copy of my terminal session: running install running build running build_py running build_ext Warning: /bin/sh: line 1: pg_config: command not found building 'psycopg2._psycopg' extension gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - fno-strict-aliasing

Re: Help installing Psycopg2 and/or MySQL-python on OS X

2007-09-02 Thread Todd O'Bryan
On Sun, 2007-09-02 at 16:04 -0700, Brandon Taylor wrote: > Hi everyone, > > I have Python 2.5.1 and Django installed and running on OS X 10.4.10, > but can't seem to get either the Psycopg2 or MySQL-python bindings > installed so I can actually use a database with Django. > > I have the latest

Help installing Psycopg2 and/or MySQL-python on OS X

2007-09-02 Thread Brandon Taylor
Hi everyone, I have Python 2.5.1 and Django installed and running on OS X 10.4.10, but can't seem to get either the Psycopg2 or MySQL-python bindings installed so I can actually use a database with Django. I have the latest version of PostgreSQL and MySQL5 installed and running. Can someone