报错RuntimeError: Could not find a llvm config binary Posted on 2021-09-27 安装sam-algorithm的时候报错 RuntimeError: Could not find a llvm config binary 原因:llvmlite安装失败解决: 参考官方教程: https://llvmlite.readthedocs.io/en/latest/admin-guide/install.html#using-pip。 llvmlite的安装需要先行安装LLVM环境,因此先通过conda安装LLVM,再安装llvmlite,注意系统带的LLVM需要说明位置。 123conda install -c numba llvmdevpip install llvmlite -i https://pypi.tuna.tsinghua.edu.cn/simple