尝试llvmlite
通过pip
运行安装
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.
我通过安装 LLVM 8brew
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
我在这里想念什么?