Raspberry pi:Failed building wheel for llvmlite

File "/tmp/pip-install-nqp_pomd/llvmlite/ffi/build.py", line 108, in main_posix
      "to the path for llvm-config" % (llvm_config,))
  RuntimeError: /usr/bin/llvm-config-3.9 failed executing, please point LLVM_CONFIG to the path for llvm-config
  error: command '/usr/bin/python3' failed with exit status 1
  
  ----------------------------------------
  Failed building wheel for llvmlite
  Running setup.py clean for llvmlite
原因:

找不到/usr/bin/llvm-config-3.9路径

解决方法

cd /usr/bin/

ls

找到llvm-config

Raspberry pi:Failed building wheel for llvmlite_第1张图片

添加这个路径到系统环境:

export LLVM_CONFIG="/usr/bin/llvm-config-7"

 

安装重新安装librosa

你可能感兴趣的:(树莓派,Linux)