计算化学公社

 找回密码 Forget password
 注册 Register
Views: 5184|回复 Reply: 0
打印 Print 上一主题 Last thread 下一主题 Next thread

安装deepmd套件、deepchem、rdkit等软件包的python环境

[复制链接 Copy URL]

7

帖子

0

威望

1339

eV
积分
1346

Level 4 (黑子)

跳转到指定楼层 Go to specific reply
楼主
*2021-03-18 By Junwu Chen at CAS IPE, Beijing*
来自我的[github](https://github.com/jwchen25/study_deepmd)

方法1 (Method 1)

### 1. 安装anaconda或miniconda (install anaconda/miniconda)

### 2. 用conda创建python3.6的虚拟环境 (create a python3.6 virtual environment by conda):
  1. conda create -n deepc python=3.6  libprotobuf==3.8.0
复制代码
激活刚创建的python虚拟环境 (activate the created virtual environment):
  1. conda activate deepc
复制代码
### 3. 安装deepmd-kit (install deepmd-kit):
  1. conda install deepmd-kit=*=*cpu lammps-dp=*=*cpu -c deepmodeling
复制代码
### 4. 安装dpgen0.8.1 (install dpgen 0.8.1):```
pip install pymatgen==2019.6.5 \
            monty==2.0.4 \
            ase==3.17.0 \
            paramiko==2.6.0 \
            custodian==2019.2.10 \
            dpgen==0.8.1
```
### 5. 安装deepchem (install deepchem):
  1. pip install deepchem==2.5.0
复制代码
### 6. 安装rdkit (install rdkit):
  1. conda install -y -c conda-forge rdkit
复制代码
### 安装结束

方法2 (Method 2)


## 使用yml快速配置conda虚拟环境 (Use .yml file to quickly configure the conda virtual environment)
### 1. 安装anaconda或miniconda (install anaconda/miniconda)

### 2. 从.yml文件创建python虚拟环境 (Use .yml file to create desired conda virtual environment):
  1. conda env create -f deepc_environment.yml
复制代码
deepc_environment.yml文件在我的github中可以找到(https://github.com/jwchen25/study_deepmd)



评分 Rate

参与人数
Participants 3
eV +13 收起 理由
Reason
chemguy + 3 谢谢
zsu007 + 5 赞!
sobereva + 5

查看全部评分 View all ratings

本版积分规则 Credits rule

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2025-8-15 13:56 , Processed in 0.157780 second(s), 21 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list