Submitted by: jonathan
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/psycopg
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g
-fwrapv -O2 -Wall -Wstrict-prototypes -fPIC
-DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.3 (dt dec pq3
ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1
-DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090304 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7
-I. -I/usr/include/postgresql -I/usr/include/postgresql/9.3/server
-c psycopg/psycopgmodule.c -o
build/temp.linux-x86_64-2.7/psycopg/psycopgmodule.o
-Wdeclaration-after-statement
In file included from psycopg/psycopgmodule.c:27:0:
./psycopg/psycopg.h:30:20: fatal error: Python.h: No such file
or directory
#include
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status
1
Cleaning up...
Command /home/marshmellow/repos/env/bin/python -c "import
setuptools,
tokenize;__file__='/home/marshmellow/repos/env/build/psycopg2/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'),
file, 'exec'))" install --record
/tmp/pip-6uuP32-record/install-record.txt
--single-version-externally-managed --compile --install-headers
/home/marshmellow/repos/env/include/site/python2.7 failed with
error code 1 in /home/marshmellow/repos/env/build/psycopg2
Storing debug log for failure in /home/marshmellow/.pip/pip.log