美文网首页
CentOS7下安装hdf5r包

CentOS7下安装hdf5r包

作者: 云养江停 | 来源:发表于2023-01-16 10:16 被阅读0次

使用Seurat安装hdf5r报错

安装hfd5r报错

configure: error: The version of hdf5 installed on your system is not sufficient. Please ensure that at least version 1.8.13 is installed
ERROR: configuration failed for package ‘hdf5r’
1. 下载hdf5-1.8.13的源码
wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.13/src/hdf5-1.8.13.tar.bz2
2. 编译安装
tar xjf hdf5-1.8.13.tar.bz2
cd hdf5-1.8.13
./configure --prefix=$HOME/.local/bin/hdf5-1.8.13
make && make install
3. 设置环境变量
export PATH=$HOME/.local/bin/hdf5-1.8.13/bin:$PATH
export LD_LIBRARY_PATH=$HOME/.local/bin/hdf5-1.8.13/lib:$LD_LIBRARY_PATH
4. 重新安装R包hdf5r
install.packages('hdf5r')

相关文章

网友评论

      本文标题:CentOS7下安装hdf5r包

      本文链接:https://www.haomeiwen.com/subject/dejzcdtx.html