我刚刚在 PyMolpyl (2.5.0) 中安装了 PyMod3 作为插件。当我尝试通过Plugin
-->打开时PyMOD 3.0
,出现错误:
Biopython is not installed on your system. Please install it in order to use PyMod.
但我已经安装了 Biopython(安装了pip install biopython
)。我通过在终端中输入 python shell 进行了验证,并且:
>>> import Bio
>>> print(Bio.__version__)
1.79
我在 macOS 11.6 上,并使用 MacPorts 安装了 PyMOL。仅供参考:
% which python
/Users/username/opt/anaconda3/bin/python
% which pip
/Users/username/opt/anaconda3/bin/pip
% python --version
Python 3.8.5
% which pymol
/opt/local/bin/pymol
为什么 PyMol/PyMod 找不到我的 Biopython 安装?有没有什么地方可以告诉 PyMOL 在哪里看(biopython 安装在/Users/username/opt/anaconda3/lib/python3.8/site-packages
)?