# Multimolecule 在低版本 glibc 安装方式



## 背景

我们课题组计算集群使用的glib版本是2.17，这导致了一些较新的科学计算库在安装或使用时出现问题。查看glibc版本方法：

```shell
ldd --version
```

## Multimolecule安装

首先通过`conda`安装`pyarrow`

```shell
conda install pyarrow
```

再安装低版本`dataset`

```shell
pip install datasets=3.6.0
```

最后安装`multimolecule`

```shell
pip install multimolecule
```

最后安装`multimolecule`时可能出现CMake版本过低，此时需要临时下载新版本CMake，将CMake的二进制文件临时加入环境变量

```shell
export PATH=$PWD/cmake-3.31.10-linux-x86_64/bin:$PATH
```

验证CMake

```shell
which cmake
cmake --version
```


---

> 作者: [fupcode](https://github.com/fupcode)  
> URL: https://fupcode.com/blog/posts/environment/multimolecule-low-glibc/  

