Getting RuntimeError even when I have llvm-3.8 installed
See original GitHub issueI have llvm installed as is evident by
export LLVM_CONFIG="/usr/bin/llvm-config"
and also the ls output
➜  llvmlite git:(master) ls /usr/bin/llvm-
llvm-ar@              llvm-cov@             llvm-dwarfdump@       llvm-mc@              llvm-prof@            llvm-size-3.6@      
llvm-ar-3.4@          llvm-cov-3.4@         llvm-dwarfdump-3.4@   llvm-mc-3.4@          llvm-profdata-3.6@    llvm-size-3.8@      
llvm-ar-3.6@          llvm-cov-3.6@         llvm-dwarfdump-3.6@   llvm-mc-3.6@          llvm-profdata-3.8@    llvm-split-3.8@     
llvm-ar-3.8@          llvm-cov-3.8@         llvm-dwarfdump-3.8@   llvm-mc-3.8@          llvm-ranlib@          llvm-stress-3.4@    
llvm-as@              llvm-c-test-3.8@      llvm-dwp-3.8@         llvm-mcmarkup-3.4@    llvm-ranlib-3.4@      llvm-stress-3.6@    
llvm-as-3.4@          llvm-cxxdump-3.8@     llvm-extract@         llvm-mcmarkup-3.6@    llvm-ranlib-3.6@      llvm-stress-3.8@    
llvm-as-3.6@          llvm-diff@            llvm-extract-3.4@     llvm-mcmarkup-3.8@    llvm-ranlib-3.8@      llvm-symbolizer-3.4@
llvm-as-3.8@          llvm-diff-3.4@        llvm-extract-3.6@     llvm-nm@              llvm-readobj-3.4@     llvm-symbolizer-3.6@
llvm-bcanalyzer@      llvm-diff-3.6@        llvm-extract-3.8@     llvm-nm-3.4@          llvm-readobj-3.6@     llvm-symbolizer-3.8@
llvm-bcanalyzer-3.4@  llvm-diff-3.8@        llvm-ld@              llvm-nm-3.6@          llvm-readobj-3.8@     llvm-tblgen@        
llvm-bcanalyzer-3.6@  llvm-dis@             llvm-lib-3.8@         llvm-nm-3.8@          llvm-rtdyld@          llvm-tblgen-3.4@    
llvm-bcanalyzer-3.8@  llvm-dis-3.4@         llvm-link@            llvm-objdump@         llvm-rtdyld-3.4@      llvm-tblgen-3.6@    
llvm-config@          llvm-dis-3.6@         llvm-link-3.4@        llvm-objdump-3.4@     llvm-rtdyld-3.6@      llvm-tblgen-3.8@    
llvm-config-3.4@      llvm-dis-3.8@         llvm-link-3.6@        llvm-objdump-3.6@     llvm-rtdyld-3.8@      llvm-vtabledump-3.6@
llvm-config-3.6@      llvm-dsymutil-3.6@    llvm-link-3.8@        llvm-objdump-3.8@     llvm-size@                                
llvm-config-3.8@      llvm-dsymutil-3.8@    llvm-lto-3.8@         llvm-pdbdump-3.8@     llvm-size-3.4@                            
but I keep getting
➜  llvmlite git:(master) sudo python setup.py build
running build
got version from VCS {'version': '0.14.0+8.gc996fb6', 'full': 'c996fb6ada525a53e7659477f57a825d6d1b8632'}
running build_ext
/usr/bin/python /home/sbn/llvmlite/ffi/build.py
LLVM version... 3.4
Traceback (most recent call last):
  File "/home/sbn/llvmlite/ffi/build.py", line 152, in <module>
    main()
  File "/home/sbn/llvmlite/ffi/build.py", line 142, in main
    main_posix('linux', '.so')
  File "/home/sbn/llvmlite/ffi/build.py", line 119, in main_posix
    raise RuntimeError(msg)
RuntimeError: Building llvmlite requires LLVM 3.8.x. Be sure to set LLVM_CONFIG to the right executable path.
Read the documentation at http://llvmlite.pydata.org/ for more information about building llvmlite.
error: command '/usr/bin/python' failed with exit status 1
Please HELP ME!
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
 Top Results From Across the Web
Top Results From Across the Web
The compiler failed to generate an executable file ...
rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first. from /Users/mgriffel/.rvm/ ...
Read more >How do I install llvm-10 on Ubuntu 18.04?
RuntimeError : Building llvmlite requires LLVM 10.0.x or 9.0.x, got '6.0.0'. Be sure to set LLVM_CONFIG to the right executable ...
Read more >llvmlite Documentation - Read the Docs
If LLVM has not implemented this feature or it fails to get the information, a RuntimeError exception is raised. • llvmlite.binding.
Read more >Getting Started with the LLVM System
This is an example workflow and configuration to get and build the LLVM ... Compiling LLVM requires that you have several software packages...
Read more >Release Notes — Numba 0.50.1 documentation - PyData |
IMPORTANT: In this release Numba's internals have moved about a lot. ... PR #4997: State that CUDA Toolkit 8.0 required in docs.
Read more > Top Related Medium Post
Top Related Medium Post
No results found
 Top Related StackOverflow Question
Top Related StackOverflow Question
No results found
 Troubleshoot Live Code
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free Top Related Reddit Thread
Top Related Reddit Thread
No results found
 Top Related Hackernoon Post
Top Related Hackernoon Post
No results found
 Top Related Tweet
Top Related Tweet
No results found
 Top Related Dev.to Post
Top Related Dev.to Post
No results found
 Top Related Hashnode Post
Top Related Hashnode Post
No results found

So you did the following:
and you still got the error above?
Yayyy, thank you @pitrou. In my case I used
export LLVM_CONFIG="/usr/bin/llvm-config-6.0"instead of 3.8 in your case.