先贴参考链接

    https://blog.csdn.net/hancoder/article/details/86634415#gcc_124

    致谢原作者 HAN

    参考链接2

    https://blog.csdn.net/u011511601/article/details/80109122

    致谢原作者 Wendy冬雪飘

    参考链接3

    https://blog.csdn.net/qq_40265629/article/details/81086092

    致谢原作者 九天那个好揽月

    安装pycaffe

    1. sudo make pycaffe -j8

    安装numpy

    1. sduo apt-get install python-numpy

    更改makefile.config 文件

    1. PYTHON_INCLUDE := /usr/include/python2.7 \
    2. /usr/lib/python2.7/dist-packages/numpy/core/include \
    3. /usr/local/lib/python2.7/dist-packages/numpy/core/include

    再次编译

    1. sudo make pycaffe -j8

    问题描述

    1. No module named google.protobuf.internal
    2. sudo apt-get install python-protobuf