https://blog.csdn.net/u010193446/article/details/53259294
按照這個博主寫的博客一步一步來的,除了中間有一步出現了hdf5.h找不到這個文件或目錄,解決方案如下:
查看hdf5.h文件路徑
terminal輸入
locate hdf5.h
然後把makefile文件中的include路徑該爲自己查找的結果即可。
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial/