I am trying to get going with Python and Caffe2 on a Ubuntu box.
Following the instructions here:
The “cmake …” step fails always as below. Can anyone help me get past this?
(PS: If I skip the Python build, it works fine and the GPU tests run okay, which suggests that I have everything else set up right; Python version is 2.7.6; Numpy was installed using pip and numpy-1.12.1-py2.7.egg-info and numpy directory exist in /usr/local/lib/python2.7/dist-packages)
– Found PythonInterp: /usr/bin/python (found suitable version “2.7.6”, minimum required is “2.7”)
– Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version “2.7.6”, minimum required is “2.7”)
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named numpy
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find NumPy (missing: NUMPY_INCLUDE_DIR NUMPY_VERSION)
Call Stack (most recent call first):
– Configuring incomplete, errors occurred!