Watchman安装错误

来源:互联网 发布:Python开发安卓 编辑:程序博客网 时间:2024/06/13 23:26

LinuxMint安装Watchman出如下错误:

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c pywatchman/bser.c -o build/temp.linux-x86_64-2.7/pywatchman/bser.o
pywatchman/bser.c:31:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
Makefile:2706: recipe for target ‘py-build’ failed
make: * [py-build] Error 1

参考官网
参考

原创粉丝点击