Can not install Numba and llvmlite to python 3.11

I want to install numba to use pyOD but I can not download llvmlite and numba to my python 3.11

RuntimeError: Cannot install on Python version 3.11.0; only versions >=3.7,<3.11 are supported.

I get this error every time. I tried to download it using pycharm but it did not work so I used pip and it didn’t work too.

pip install llvmlite

Same errors. I understand that Numba have not update its library to 3.11 for now. Is there any way to install it to 3.11

Welcome to the Numba discourse.

We have not released numba and llvmlite for python3.11. The new python version is requiring massive changes to numba because of how numba is tightly coupled to Python’s bytecode internals. If things go smoothly, we are looking at the end of year to publish a pre-release numba version for folks to try out on python3.11.

2 Likes

Hello,
I think I have the same problem.


error: legacy-install-failure

× Encountered error while trying to install package.
╰─> llvmlite

When trying to installl
pip install numba==0.48

And I am on python:
Python 3.10.6

Any solution?
Do I have to use a lower version of python to make it work?.
If yes can youtell me what are the python versions that work with numba==0.48 ? I need specifically this version.

Thanks

@AI_ASPIRANT thank you for asking about this, we maintain a version support table here:

https://numba.readthedocs.io/en/stable/user/installing.html#version-support-information

as you can see that: 0.48 needs 3.9 or less.

1 Like