问题描述
在win10上构建docker映像时,我遇到了llvm-lite及其配置文件的问题:
Running setup.py install for llvmlite: started
Running setup.py install for llvmlite: finished with status 'error'
Complete output from command /usr/local/bin/python -u -c "import setuptools,tokenize;__file__='/tmp/pip-install-o5w_9_c3/llvmlite/setup.py';f=getattr(tokenize,'open',open)(__file__);code=f.read().replace('\r\n','\n');f.close();exec(compile(code,__file__,'exec'))" install --record /tmp/pip-record-a2lz4lmi/install-record.txt --single-version-externally-managed --compile:
running install
running build
got version from file /tmp/pip-install-o5w_9_c3/llvmlite/llvmlite/_version.py {'version': '0.34.0','full': 'c5889c9e98c6b19d5d85ebdd982d64a03931f8e2'}
running build_ext
/usr/local/bin/python /tmp/pip-install-o5w_9_c3/llvmlite/ffi/build.py
LLVM version... Traceback (most recent call last):
File "/tmp/pip-install-o5w_9_c3/llvmlite/ffi/build.py",line 105,in main_posix
out = subprocess.check_output([llvm_config,'--version'])
File "/usr/local/lib/python3.6/subprocess.py",line 336,in check_output
**kwargs).stdout
File "/usr/local/lib/python3.6/subprocess.py",line 403,in run
with Popen(*popenargs,**kwargs) as process:
File "/usr/local/lib/python3.6/subprocess.py",line 709,in __init__
restore_signals,start_new_session)
File "/usr/local/lib/python3.6/subprocess.py",line 1344,in _execute_child
raise child_exception_type(errno_num,err_msg,err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config': 'llvm-config'
这个问题有一个修复here,但是它需要apt-get并在ubuntu下运行。 如何使Win10下的apt-get工作?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)