ImportError: cannot import name 'romberg' from 'scipy.integrate'
可以看一下,基本上是这个脚本的第六行存在调用:
~/biosoft/conda/miniconda3/lib/python3.12/site-packages/xpclr/methods.py
https://docs.scipy.org.cn/doc/scipy-1.14.0/reference/generated/scipy.integrate.romberg.html
可以看一下自己的版本:
pip show scipy
降低scipy版本:
conda install bioconda::xpclr scipy=1.14
我的出现了这个:

然后就可以运行 xpclr -h看看是否报错
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!