编译方法:
代码: 全选
mkdir build
cd build
cmake ..


-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Compiler version: c++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2
-- Build type: Release
-- Python interpreter /usr/bin/python
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named numpy
CMake Error at config/FindPython.cmake:84 (MESSAGE):
The script : import numpy
did not run properly in the Python interpreter. Check your python installation.
Call Stack (most recent call first):
config/FindPython.cmake:102 (EXEC_PYTHON_SCRIPT)
config/FindVistrails.cmake:59 (find_package)
CMakeLists.txt:180 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/kk/download/alps-2.2.b3-r7462-src-with-boost/alps/build/CMakeFiles/CMakeOutput.log".
请问是哪里出错了?