晚上在安装llvmlite时报错:
zhang@debian:~$ pip3 install llvmlite==0.16.0
Collecting llvmlite==0.16.0
Using cached https://files.pythonhosted.org/packages/23/c7/56d7c18564783f33206b3cb6ce861a8d681e8be1a124c5651145ce5aad0f/llvmlite-0.16.0.tar.gz
Building wheels for collected packages: llvmlite
Running setup.py bdist_wheel for llvmlite ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-s7dyuobp/llvmlite/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpsklqjxv1pip-wheel- --python-tag cp35:
running bdist_wheel
running build
got version from file /tmp/pip-build-s7dyuobp/llvmlite/llvmlite/_version.py {
'version': '0.16.0', 'full': '964cf1d6d725b000c769379a5efe11932fcfc551'}
running build_ext
/usr/bin/python3 /tmp/pip-build-s7dyuobp/llvmlite/ffi/build.py
LLVM version... Traceback (most recent call last):
File "/tmp/pip-build-s7dyuobp/llvmlite/ffi/build.py", line 105, in main_posix
out = subprocess.check_output([llvm_config, '--version'])
File "/usr/lib/python3.5/subprocess.py", line 316, in check_output