RuntimeError: Building llvmlite requires LLVM 11.x.x, got '7.0.1'.
I researched recently transformers library, especially Wa2Vec2 model. The main goal was to build a prototype of automatic speech recognition (ASR) on RaspberryPI 4 (RSP). There were a few caveats how to make the whole ecosystem operational. However here I would like to describe how to deal with quite common error related to Numba installation. Numba and llvmlite packages are dependencies for sklearn package, which is quite often used in machine learning world. In this topic I will describe how to install Numba and llvmlite as well as how to deal with the next error: RuntimeError: Building llvmlite requires LLVM 11.x.x, got '7.0.1'. Be sure to set LLVM_CONFIG to the right executable path. First of all, let me explain what is the problem. While installing Numba Python compiles it's code and for this purpose it needs LLVM compiler. In the error message the build process notifies us that it has found not satisfying version of LLVM compiler. To check your version you can...