Re: Errors installing psycopg2 on OSX 10.5.2

Chris Cogdon <[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
On May 22, 2008, at 14:02 , Bryan Hughes wrote:

> I recently downloaded the psycopg2 package found here:
>
> http://initd.org/pub/software/psycopg/psycopg2-2.0.7.tar.gz
>
> Unfortunately, when I run "python setup.py install", I receive the  
> following error (see below).  This is my virgin experience with  
> psycopg2, so its entirely possible that I'm missing something.   
> Should I use a different 2.x install package?

Ensure you have the "development" libraries for postgresql installed.  
(eg, either postgresql-devel (for redhat-style systems), or  
postgresql-dev (for debian style systems)

If they ARE installed, ensure you have the correct include_dirs= and  
lib_dirs set in the setup.cfg file.


-- 
Chris Cogdon       <[email protected]>                         
Chris:  650 242 3518
Truviso Inc.           http:// 
www.truviso.com                              Switch: 650 242 3500
1065 E Hillsdale Blvd Suite 230 Foster City CA 94404     Fax:    650  
242 3501
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.