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

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

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

 

安装重新安装librosa

发布了147 篇原创文章 · 获赞 146 · 访问量 77万+

猜你喜欢

转载自blog.csdn.net/miao0967020148/article/details/103776238