在树莓派4上安装librosa,llvmlite的转盘出现错误

问题描述

我正在使用Python3开发树莓派4,我想安装librosa。 (pip3 install librosa

以前我安装了llvm版本7.0.1

在兼容性之后,我安装了llvmlite https://pypi.org/project/llvmlite/

$ LLVM_CONFIG=/usr/bin/llvm-config pip3 install llvmlite=0.32.0

在安装librosa或numba期间的那个障碍

Building wheel for llvmlite (setup.py) ... error

如果有人对如何解决有任何建议,谢谢您给我。

解决方法

我通过安装llvmlite==0.31.0numba==0.48.0librosa==0.6.3colorama==0.3.9来运行我的系统。

命令:

LLVM_CONFIG=/usr/bin/llvm-config pip3 install llvmlite=0.31.0 numba==0.48.0 colorama==0.3.9 librosa==0.6.3

注意colorama仅用于在控制台中显示彩色输出,如果软件包导致您遇到问题,请尝试将其删除,否则请保留它,否则在导入模块时会出错

,

感谢Michael S.!

但是实际上命令应该是:

LLVM_CONFIG=/usr/bin/llvm-config pip3 install llvmlite==0.31.0 numba==0.48.0 colorama==0.3.9 librosa==0.6.3

应为== in

llvmlite = 0.31.0

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...