安装dmri-amico

为了安装dmri-amico,需要提前安装spams。

但会遇到

ERROR: Failed building wheel for spams
ERROR: Could not build wheels for spams, which is required to install pyproject.toml-based projects

虽然有帖子说可以改用pip install spams-bin,但还是无法成功安装dmri-amico。

而也有帖子通过conda 安装conda install -c conda-forge python-spam ,也无法成功安装dmri-amico。
会报错Failed to build spams ERROR: Could not build wheels for spams which use PEP 517 and cannot be installed directly

后来查到帖子说是pip需要升级,也不行。

仔细看了下出错的问题,应该是缺少了两个库。

/public/home/liufh/anaconda3/compiler_compat/ld: cannot find -lblas
/public/home/liufh/anaconda3/compiler_compat/ld: cannot find -llapack

你可能感兴趣的:(NeuroImaging,python,开发语言)