close

[Solved] FileNotFoundError: [Errno 2] No such file or directory: ‘llvm-config’

Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to install numba But I am facing following error FileNotFoundError: [Errno 2] No such file or directory: ‘llvm-config’ in Python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How This Error Occurs ?

I am trying to install numba But I am facing following error.

FileNotFoundError: [Errno 2] No such file or directory: ‘llvm-config’ ERROR:
No matching distribution found for llvm

How To Solve FileNotFoundError: [Errno 2] No such file or directory: ‘llvm-config’ Error ?

  1. How To Solve FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config' Error ?

    To Solve FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config' Error If Your air to install Numba Then Just Follow this step one by one. First of all You need to install llvmlite with this command: pip install llvmlite If Any error occurs then Just use this version of llvmlite: pip3 install llvmlite==0.31.0 Now, You Have to install numba with this command: pip install numba --user Now, Your error should be solved.

  2. FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config'

    To Solve FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config' Error Here in Python 3.8 everything is fine So That You Just need to downgrade Python version to 3.8 And Now, Your Error Should be solved.

Solution 1: Downgrade Python version

Here in Python 3.8 everything is fine So That You Just need to downgrade Python version to 3.8 And Now, Your Error Should be solved.

Solution 2: Install in this way

If Your air to install Numba Then Just Follow this step one by one. First of all You need to install llvmlite with this command.

pip install llvmlite

If Any error occurs then Just use this version of llvmlite.

pip3 install llvmlite==0.31.0

Now, You Have to install numba with this command.

pip install numba --user

Now, Your error should be solved.

Summary

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also, Read

Please Rate Our Solution to Motivate Us For Give Our Best

Leave a Comment