计算化学公社

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

[GROMACS] CentOS7.6如何安装gmx_MMPBSA的1.5.7版本

[复制链接 Copy URL]

305

帖子

0

威望

550

eV
积分
855

Level 4 (黑子)

各位老师好,我曾按照某教程安装了gmxMMPBSA的1.6.2版本,步骤是这样的
1.conda activate gmxMMPBSA
2.从官网下载env.yml文件执行,conda env create -n gmxMMPBSA --file env.yml
3.自己找的parmEd-master安装包,进入/parmEd-master目录下,执行python -m pip install . -U后安装成功
但是我想重新安装一个1.5.7版本的,不知道应该修改上述过程中的哪一步,或是改变哪些文件,来改变gmxMMPBSA的版本,想问一下大家

892

帖子

4

威望

2073

eV
积分
3045

Level 5 (御坂)

A Student

2#
发表于 Post on 2024-7-1 15:53:24 | 只看该作者 Only view this author
If you really need to install a specific version from pip, add the version number to the package name, e.g.
  1. pip install gmx-MMPBSA==1.5.7
复制代码

Either edit your env.yml before you create the environment with it, or manually install using command line.

For how to install a specific version of a software in pip, searching the package in pypi.org gives you the command.
敬仰一针见血的指责,厌倦别有用心的赞美。

88

帖子

0

威望

2394

eV
积分
2482

Level 5 (御坂)

3#
发表于 Post on 2024-7-1 17:09:55 | 只看该作者 Only view this author
推薦使用rocky linux取代centos...centos 幾乎已經斷炊不支援了...

305

帖子

0

威望

550

eV
积分
855

Level 4 (黑子)

4#
 楼主 Author| 发表于 Post on 2024-7-1 19:16:43 | 只看该作者 Only view this author
student0618 发表于 2024-7-1 15:53
If you really need to install a specific version from pip, add the version number to the package nam ...

so I should add "pip install gmx-MMPBSA==1.5.7" to my env.yml if I want to install version-1.5.7. Do I understand you correctly?

892

帖子

4

威望

2073

eV
积分
3045

Level 5 (御坂)

A Student

5#
发表于 Post on 2024-7-1 19:47:36 | 只看该作者 Only view this author
本帖最后由 student0618 于 2024-7-1 19:49 编辑
12313 发表于 2024-7-1 19:16
so I should add "pip install gmx-MMPBSA==1.5.7" to my env.yml if I want to install version-1.5.7.  ...

That command is for manual install. Just add the ==1.5.7 if you create the environment with env.yml, so under pip dependencies you have
gmx-MMPBSA==1.5.7
敬仰一针见血的指责,厌倦别有用心的赞美。

305

帖子

0

威望

550

eV
积分
855

Level 4 (黑子)

6#
 楼主 Author| 发表于 Post on 2024-7-2 09:57:15 | 只看该作者 Only view this author
student0618 发表于 2024-7-1 19:47
That command is for manual install. Just add the ==1.5.7 if you create the environment with env.ym ...

Thank you!

本版积分规则 Credits rule

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

GMT+8, 2026-2-27 18:20 , Processed in 0.153097 second(s), 20 queries , Gzip On.

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