直接pip install benepar,安装benepar0.2.0时会自动更新torch的版本
解决方法:去https://pypi.org/project/benepar/0.1.3/找历史版本
我的适配版本:python3.9,torch1.11.0(cuda11.3),对应的benepar是0.1.3
官网有写benepar0.1.3的软件要求:
Software Requirements for Training
Python 3.6 or higher.
Cython 0.25.2 or any compatible version.
PyTorch 0.4.1, 1.0/1.1, or any compatible version.