error: Der Befehl 'gcc' ist bei der Installation von psycopg2 mit dem Exit-Status fehlgeschlagen

muss ich installieren psycopg2 für openerp installation, aber ich habe immer gefunden, dass Fehler. ich habe bereits pip und easy_install meine gcc ist die neueste version. Wirklich brauchen Ihre Hilfe, um mein problem zu lösen...

dies ist meine absolute Fehler mit easy_install..

[root@server01 ~]# easy_install psycopg2    
Searching for psycopg2    
Reading http://pypi.python.org/simple/psycopg2/   
Reading http://initd.org/psycopg/   
Reading http://initd.org/projects/psycopg2    
Best match: psycopg2 2.4.5    
Downloading http://initd.org/psycopg/tarballs/PSYCOPG-2-4/psycopg2-2.4.5.tar.gz    
Processing psycopg2-2.4.5.tar.gz    
Running psycopg2-2.4.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-anWVvJ/psycopg2-2.4.5/egg-dist-tmp-cZbdtn

no previously-included directories found matching 'doc/src/_build' In file included from psycopg/psycopgmodule.c:27:
./psycopg/psycopg.h:31:22: error: libpq-fe.h: No such file or directory In file included from psycopg/psycopgmodule.c:29:

...

error: Setup script exited with error: command 'gcc' failed with exit status 1

InformationsquelleAutor der Frage ws_123 | 2012-10-16

Schreibe einen Kommentar