分页: 1 / 1

求助!cmake 编译一个叫alps的软件时遇到了困难。

发表于 : 2014-05-31 20:01
s75671
我在一个叫alps的软件时出现了如下错误:
编译方法:

代码: 全选

mkdir build
cd build
cmake ..
在第三步的时候出错了,错误信息 :em20 :em20

-- 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".
请问是哪里出错了?

Re: 求助!cmake 编译一个叫alps的软件时遇到了困难。

发表于 : 2014-06-01 12:34
麦斯特
ImportError: No module named numpy
看到这句提示,相信很多学py的水货都该明白是什么意思了吧。