Skip to content

Hui-Coder/pyhdf_install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

pyhdf_install

ubuntu下安装python库 pyhdf. clone脚本到本地,添加执行权限 chmod +x pyhdf_install.sh

然后运行 sudo ./pyhdf_install.sh

脚本参考地址:https://gist.github.com/eightysteele/1408088

如果执行还无法成功import pyhdf,进入pyhdf-0.8.3目录(pyhdf-0.8.3为pyhdf安装包目录,执行pyhdf_install.sh后自动生成)

修改setup.py脚本第29行:

szip_installed=False

手动执行

export INCLUDE_DIRS=/usr/include/hdf

sudo python setup.py install -i $INCLUDE_DIRS

(引自:https://stackoverflow.com/questions/18758723/can-not-install-pyhdf-on-ubuntu-13-04)

About

ubuntu下安装pyhdf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages