【发布时间】:2020-04-28 07:54:52
【问题描述】:
尝试通过运行通过pip 安装llvmlite
pip install llvmlite
经常给我这个错误:
RuntimeError: <path> failed executing, please point LLVM_CONFIG to the path for llvm-config
error: command '/Users/sfalk/miniconda3/envs/asr-service/bin/python' failed with exit status 1
----------------------------------------
现在,我使用的是 Python 3.5
$ python --version
Python 3.5.6 :: Anaconda, Inc.
只要运行 pip install llvmlite 就会给我这个:
RuntimeError: Building llvmlite requires LLVM 7.0.x, 7.1.x or 8.0.x, got '10.0.0'. Be sure to set LLVM_CONFIG to the right executable path.
我通过brew安装了LLVM 8
brew install llvm@8
将LLVM_CONFIG 设置为任一都不起作用。
-
/usr/local/opt/llvm@8/bin(我假设llvm-config是),或者 -
/usr/local/opt/llvm@8/Toolchains/LLVM8.0.1.xctoolchain/usr/bin(我实际上发现llvm-config是)
我不断得到一些版本:
RuntimeError: /usr/local/opt/llvm@8/Toolchains/LLVM8.0.1.xctoolchain/usr/bin failed executing, please point LLVM_CONFIG to the path for llvm-config
我在这里错过了什么?
【问题讨论】: