Compiling libyaml fails on Raspberry Pi Zero W
I've tried to install this project on Rpi Zero W with unmodified Raspian Strech and followed the Readme. I've got following Error during first setup:
copying lib3/yaml/dumper.py -> build/lib.linux-armv6l-3.5/yaml
running build_ext
creating build/temp.linux-armv6l-3.5
checking if libyaml is compilable
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-6waWnr/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/opt/infobeamer/penv/include -I/usr/include/python3.5m -c build/temp.linux-armv6l-3.5/check_libyaml.c -o build/temp.linux-armv6l-3.5/check_libyaml.o
build/temp.linux-armv6l-3.5/check_libyaml.c:2:18: fatal error: yaml.h: No such file or directory
#include <yaml.h>
^
compilation terminated.
libyaml is not found or a compiler error: forcing --without-libyaml
(if libyaml is installed correctly, you may need to
specify the option --include-dirs or uncomment and
modify the parameter include_dirs in setup.cfg)
I tried this hint https://stackoverflow.com/questions/34164651/why-fatal-error-yaml-h-file-not-found-when-installing-pyyaml with success:
apt-get install libyaml-dev libpython2.7-dev
and could run the setup without further errors afterwards.