caffe报错:**google/protobuf/arena.h: No such file or directory**
Ubuntu上配置caffe的时候出现google/protobuf/arena.h: No such file or directory的错误,是因为protobuf的版本与caffe不匹配,caffe支持protobuf的版本为2.6.1。
通常Ubuntu会自带protobuf-2.6.1,环境变量也有ubuntu的protobuf的路径,经常发生的情况是配置了anaconda后,anaconda会安装最新的protobuf版本,并且修改环境变量,这时需要手动修改环境变量,将添加的anaconda路径注释掉。