xpleaf / Blog_mini

An Open Source Blog System that developed with Flask.
Other
982 stars 469 forks source link

install failed #19

Open slzzz opened 6 years ago

slzzz commented 6 years ago
In file included from psycopg/psycopgmodule.c:27:0:
./psycopg/psycopg.h:30:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------

Command "/usr/bin/python3.5 -u -c "import setuptools, tokenize;file='/tmp/pip-install-srh3n03y/psycopg2/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-p4a2app1/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-srh3n03y/psycopg2/

xpleaf commented 6 years ago

一些依赖没有解决,参考解决方案:https://blog.csdn.net/wang1144/article/details/42277179