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

编译打包和其他
回复
s75671
帖子: 4
注册时间: 2014-05-31 19:55
系统: ubuntu 14.04

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

#1

帖子 s75671 » 2014-05-31 20:01

我在一个叫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".
请问是哪里出错了?
头像
麦斯特
帖子: 1034
注册时间: 2005-03-28 0:00
系统: Gentoo x64
来自: ☸我佛山人

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

#2

帖子 麦斯特 » 2014-06-01 12:34

ImportError: No module named numpy
看到这句提示,相信很多学py的水货都该明白是什么意思了吧。
Je ne suis pas d'accord avec ce que vous dites, mais je me battrai jusqu'à la mort pour que vous ayez le droit de le dire.
回复