autodataming的个人博客分享 http://blog.sciencenet.cn/u/autodataming

博文

python entry_point load_entry_point

已有 7576 次阅读 2016-11-30 11:11 |个人分类:DrugDesign|系统分类:科研笔记

CalculateClusterRadii  -h 命令

ImportError: 'Module' object has no attribute 'entry_point' msmbuilder==2.8.2

------------------------

load_entry_point 一般在 模块相关文件夹(egg)下面有个 entry.txt 之类
在msmbuilder 同级目录下有个EGG-INFO 里面有 entry_points.txt 文件里面记录了如何寻找对应的执行程序。

CalculateClusterRadii = msmbuilder.scripts.CalculateClusterRadii:entry_point

SampleTrajectory = msmbuilder.scripts.SampleTrajectory:entry_point

经过比较发现,CalculateClusterRadii.py中没有entry_point 函数,

按照SampleTrajectory中的格式把 if __name__=='__main__' 函数修改成entry_point 就可以了。

CalculateClusterRadii.py.txt





https://wap.sciencenet.cn/blog-950202-1017635.html

上一篇:弱相互作用汇总
下一篇:schrodinger 对接后处理 DOCKING POST-PROCESSING 注意事项
收藏 IP: 193.204.100.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-23 18:50

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部