我是python的初学者,最近我想在我的Mac上安装autopy(Mavericks,10.9.4).我阅读了很多介绍和其他人的问题.但我仍然无法成功安装autopy.我安装autopy的步骤如下:
git clone git://github.com/msanders/autopy.git#include <OpenGL/gl.h>在autopy文件的第七行"src/screengrab.c"cd autopypython setup.py build这里有命令窗口
src/png_io.c:3:10: fatal error: 'png.h' file not found
#include <png.h>
^
1 error generated.
error: command 'cc' failed with exit status 1
Run Code Online (Sandbox Code Playgroud)
我是否需要在png_io.c中重写"png.h"的文件地址?我该如何在Mac上安装autopy?我有一些重要的遗漏吗?