Created
November 30, 2011 04:59
-
-
Save eightysteele/1408088 to your computer and use it in GitHub Desktop.
Install pyhdf on Ubuntu Oneric
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -c http://ufpr.dl.sourceforge.net/project/pysclint/pyhdf/0.8.3/pyhdf-0.8.3.tar.gz | |
tar zxvf pyhdf-0.8.3.tar.gz | |
cd pyhdf-0.8.3 | |
sudo apt-get install libhdf4-dev | |
sudo apt-get install python2.6-dev | |
cd pyhdf | |
sudo apt-get install swig | |
swig -python hdfext.i | |
cd .. | |
export INCLUDE_DIRS=/usr/include/hdf | |
export LIBRARY_DIRS=/usr/lib | |
export NOSZIP=1 | |
python setup.py install |
getting an error when I run this command (python setup.py install) but rest of the code was running fine.
hduser@ncistudent-VirtualBox:~/pyhdf-0.8.3$ python setup.py install
Traceback (most recent call last):
File "setup.py", line 9, in
from numpy.distutils.core import setup, Extension
ImportError: No module named numpy.distutils.core
any help, please
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
+1