2012-02-28 74 views
0

我试图使用或者easy_installpip但都尝试用相同的错误端安装PyTables:无法安装PyTables

error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DNDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -Iblosc -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c src/H5ARRAY.c -o build/temp.linux-x86_64-2.7/src/H5ARRAY.o -Isrc -DH5_USE_16_API" failed with exit status 1

我已经安装了所有的依赖。

  • 找到安装了numexpr 1.4.2的软件包。
  • 找到安装的Cython 0.14.1软件包。
  • /usr/include处找到HDF5标题,库位于/usr/lib
  • /usr/include找到LZO 2标题,库在/usr/lib
  • 由于LZO 2已被找到,所以跳过LZO 1的检测。
  • 找到bzip2标题/usr/local/include,图书馆/usr/local/lib

但仍然有一个警告:

.. WARNING:: Could not find the bzip2 runtime. The bzip2 shared library was *not* found in the default library paths. In case of runtime problems, please remember to install it.

是否有可能,这个警告阻止成功安装PyTables?

+0

有没有比你包括一个其他错误消息? “退出状态1失败”只是表示命令失败,不是原因。在它之前应该有一个错误信息,或者一个出现的方法。 – millimoose 2012-02-28 16:13:08

+1

谢谢Inerdial的回复,我发现这个:从/sr/include/hdf5.h:24:0,包含的文件src/H5ATTR.h:19, 来自src/H5ARRAY.c:1: /usr/include/H5public.h:57:20:致命错误:mpi.h:没有这样的文件或目录 编译终止。 – 2012-02-29 10:20:00

+1

您可能需要安装http://mvapich.cse.ohio-state.edu/overview/mvapich2/ – synthesizerpatel 2012-02-29 12:27:26

回答

1

尝试补充一点:

-I/usr/include/mpi