running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.4
copying ./rjsmin.py -> build/lib.linux-x86_64-3.4
running build_ext
building '_rjsmin' extension
creating build/temp.linux-x86_64-3.4
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -DEXT_MODULE=_rjsmin -UEXT_PACKAGE -I_setup/include -I/usr/include/python3.4m -I/home/edison/solum-dashboard/.tox/py34/include/python3.4m -c rjsmin.c -o build/temp.linux-x86_64-3.4/rjsmin.o
In file included from rjsmin.c:18:0:
_setup/include/cext.h:34:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
执行如下命令解决问题:
sudo apt-get install -y libxml2-dev libxslt1-dev zlib1g-dev python3-pip