Why fatal error: 'yaml.h' file not found when installing PyYAML?
问题 I'm trying out downloading PyYAML and install it following the instructions here http://pyyaml.org/wiki/PyYAML So I downloaded the ZIP package: http://pyyaml.org/download/pyyaml/PyYAML-3.11.zip and then cd into that folder and run python setup.py --with-libyaml install , the error message I got is ext/_yaml.h:2:10: fatal error: 'yaml.h' file not found But I checked the PyYAML-3.11 folder, the yaml.h is there... UPDATE: I tried the methods here http://sandlininc.com/?p=500 $ sudo easy_install