question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

llvm-config failed executing

See original GitHub issue

when I tried to install the llvmlite via setup.py, it showed

running install
running build
got version from VCS {'version': '0.4.0', 'full': '8a681a2726ae79b640b4147b13cdd5e309a5c74f'}
running build_ext
/usr/local/opt/python/bin/python2.7 ffi/build.py
LLVM version... Traceback (most recent call last):
  File "ffi/build.py", line 112, in <module>
    main()
  File "ffi/build.py", line 106, in main
    main_posix('osx', '.dylib')
  File "ffi/build.py", line 93, in main_posix
    "to the path for llvm-config" % (llvm_config,))
RuntimeError: llvm-config failed executing, please point LLVM_CONFIG to the path for llvm-config
error: command '/usr/local/opt/python/bin/python2.7' failed with exit status 1

And I saw from the readme file that If your LLVM is installed in a non-standard location, first point the LLVM_CONFIG environment variable to the path of the corresponding llvm-config executable. So how can I find the location of LLVM on my computer? If I find its llvm-config executable, then I should define “LLVM_CONFIG” as the path to the exe, am I right? I’m using OS X Yosemite. Thank you.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

30reactions
root-11commented, Jul 5, 2015

…And for Debian/Ubuntu users who run into this problem just install LLVM as:

sudo apt-get install llvm
9reactions
eusoubrasileirocommented, May 26, 2015

you should have llvm installed that’s why

Read more comments on GitHub >

github_iconTop Results From Across the Web

<path> failed executing, please point LLVM_CONFIG to the ...
In my case, for Ubuntu 18.04/Mint 19.3, I used apt install llvm-10 , and then set the new llvm-config link. Then it worked!...
Read more >
Cannot build TVM on Ubuntu - Questions - Apache TVM Discuss
I have tried many times to build TVM with LLVM but always failed. ... at cmake/utils/FindLLVM.cmake:76 (message): Fatal error executing: .
Read more >
llvm-config - Print LLVM compilation options
COMPONENTS¶. To print a list of all available components, run llvm-config –components. In most cases, components correspond directly to LLVM libraries. Useful ...
Read more >
How to install numba package on jetson nano
... failed executing, please point LLVM_CONFIG to the path for llvm-config error: command '/usr/bin/python3.6' failed with exit status 1 ...
Read more >
pip install fails on NVIDIA Jetson TX2 - Google Groups
RuntimeError : llvm-config failed executing, please point LLVM_CONFIG to the path for llvm-config error: command '/usr/bin/python' failed with exit status 1
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found