Stefano Messina
Stefano Messina

Reputation: 2074

Failed to install PyTables

I'm trying to install PyTables using either easy_install or pip but both attempts end with the same error:

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

I have all dependencies installed.

but there is still a warning:

.. 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.

Is it possible that this warning prevents successfully installing PyTables?

Upvotes: 0

Views: 1277

Answers (1)

zifu
zifu

Reputation: 26

try to add this:

-I/usr/include/mpi

Upvotes: 1

Related Questions