https://github.com/argman/EAST
1.Error 127 和
fatal error: Python.h: No such file or directory
这两个是编译环境没准备好, apt-get安装g++和python-dev解决
2.还是/lanms下文件的问题
"undefined symbol: _Py_ZeroStruct"
运行run_demo_server.py的时候出现。查到不同python环境下编译选项的问题。尝试修改了makefile,还是报错。
最后我的解决方法是把run_demo_server.py修改为在python2下运行。修改时候注意下functools在python3.2中才出现,在2.7中可以用functools32代替。否则出现
AttributeError: 'module' object has no attribute 'lru_cache'