windows编译caffe遇到的错误

1.Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "2.7" (found D:/ProgramData/Anaconda3/envs/snakes/python.exe)

windows编译caffe遇到的错误

解决:1)可能是上一次编译遗留的环境问题导致,重新下载caffe的windows版进行编译。

           2)配置python的全局环境变量

2.ImportError: No module named 'numpy'

CMake Error at CMakeLists.txt:143 (add_dependencies):
       The dependency target "pycaffe" of target "pytest" does not exist.

windows编译caffe遇到的错误

windows编译caffe遇到的错误

解决:下载安装依赖库numpy

windows编译caffe遇到的错误