You are not logged in.
Pages: 1
I've installed numpy and h5py on my virtualenv using pip. I downloaded pyhdf from:
http://downloads.sourceforge.net/pyscli … 8.3.tar.gz
Then ran:
pip install <path-to-tar.gz>
Then I get this error:
creating build/temp.linux-x86_64-2.7/pyhdf
compile options: '-I/home/yu/virtualenv/icrops/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c'
gcc: pyhdf/hdfext_wrap.c
pyhdf/hdfext_wrap.c:3048:17: fatal error: hdf.h: No such file or directory
#include "hdf.h"
^
compilation terminated.
pyhdf/hdfext_wrap.c:3048:17: fatal error: hdf.h: No such file or directory
#include "hdf.h"
^
compilation terminated.
error: Command "gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -I/home/yu/virtualenv/icrops/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pyhdf/hdfext_wrap.c -o build/temp.linux-x86_64-2.7/pyhdf/hdfext_wrap.o" failed with exit status 1
Any idea what I'm missing here?
Offline
Pages: 1