|
请教老师,根据帖子安装完后,pip list显示xtb-python 20.1,应该是安装完成了,但是从帖子里下载的测试文件运行报错,不清楚原因在哪里,应该怎么处理
ModuleNotFoundError: No module named 'xtb._libxtb'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "diamond.py", line 23, in <module>
from xtb.ase.calculator import XTB ##from xtb import GFN1
File "/SoftwareInstall/xtb-python-20.2/xtb/ase/calculator.py", line 60, in <module>
from ..utils import get_method, get_solvent
File "/SoftwareInstall/xtb-python-20.2/xtb/utils.py", line 20, in <module>
from .interface import Solvent, Param
File "/SoftwareInstall/xtb-python-20.2/xtb/interface.py", line 24, in <module>
from .libxtb import (
File "/SoftwareInstall/xtb-python-20.2/xtb/libxtb.py", line 34, in <module>
raise ImportError("xtb C extension unimportable, cannot use C-API")
ImportError: xtb C extension unimportable, cannot use C-API |
|