i just recreated virtualenv with python 3.13. but theres only 1 issue with Namba dependency llvmlite .
it seems to be missing this file OSError: /home/rizpython236/.virtualenvs/Pybroker39zz/lib/python3.13/site-packages/llvmlite/binding/libllvmlite.so
I have tried installing older versions of Numba but they dont install.. Help me fix this problem
Traceback (most recent call last):
File "/home/rizpython236/.virtualenvs/Pybroker39zz/lib/python3.13/site-packages/llvmlite/binding/ffi.py", line 141, in getattr
return self._fntab[name]
~~~~~~~~~~~^^^^^^
KeyError: 'LLVMPY_AddSymbol'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/rizpython236/.virtualenvs/Pybroker39zz/lib/python3.13/site-packages/llvmlite/binding/ffi.py", line 122, in _load_lib
self._lib_handle = ctypes.CDLL(str(lib_path))
~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/ctypes/init.py", line 390, in init
self._handle = _dlopen(self._name, mode)
~~~~~~~^^^^^^^^^^^^^^^^^^
OSError: /home/rizpython236/.virtualenvs/Pybroker39zz/lib/python3.13/site-packages/llvmlite/binding/libllvmlite.so: cannot open shared object file: No such file or directory
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/rizpython236/BT5/trade_compiler.py", line 79, in <module>
import pandas_ta as ta
File "/home/rizpython236/.virtualenvs/Pybroker39zz/lib/python3.13/site-packages/pandas_ta/init.py", line 6, in <module>
from pandas_ta.utils import *
File "/home/rizpython236/.virtualenvs/Pybroker39zz/lib/python3.13/site-packages/pandas_ta/utils/init.py", line 4, in <module>
from ._math import *
File "/home/rizpython236/.virtualenvs/Pybroker39zz/lib/python3.13/site-packages/pandas_ta/utils/_math.py", line 18, in <module>
from numba import njit
File "/home/rizpython236/.virtualenvs/Pybroker39zz/lib/python3.13/site-packages/numba/init.py", line 73, in <module>
from numba.core import config
File "/home/rizpython236/.virtualenvs/Pybroker39zz/lib/python3.13/site-packages/numba/core/config.py", line 17, in <module>
import llvmlite.binding as ll
File "/home/rizpython236/.virtualenvs/Pybroker39zz/lib/python3.13/site-packages/llvmlite/binding/init.py", line 4, in <module>
from .dylib import *
File "/home/rizpython236/.virtualenvs/Pybroker39zz/lib/python3.13/site-packages/llvmlite/binding/dylib.py", line 36, in <module>
ffi.lib.LLVMPY_AddSymbol.argtypes = [
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rizpython236/.virtualenvs/Pybroker39zz/lib/python3.13/site-packages/llvmlite/binding/ffi.py", line 144, in getattr
cfn = getattr(self._lib, name)
^^^^^^^^^
File "/home/rizpython236/.virtualenvs/Pybroker39zz/lib/python3.13/site-packages/llvmlite/binding/ffi.py", line 136, in _lib
self._load_lib()
~~~~~~~~~~~~~~^^
File "/home/rizpython236/.virtualenvs/Pybroker39zz/lib/python3.13/site-packages/llvmlite/binding/ffi.py", line 130, in _load_lib
raise OSError("Could not find/load shared object file") from e
OSError: Could not find/load shared object file