Error: unable to load nvrtc

Good morning everyone. I´m having this errors while trying to run the test cases (in particular the 2d-cylinder) from my terminal:

File "/cephyr/users/rubensd/Alvis/my_Rpython/lib/python3.9/site-packages/pyfr/", line 58, in load_library
    return ctypes.CDLL(lname)
  File "/apps/Arch/software/Python/3.9.5-GCCcore-10.3.0/lib/python3.9/ctypes/", line 374, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/cephyr/users/rubensd/Alvis/my_Rpython/bin/pyfr", line 8, in <module>
  File "/cephyr/users/rubensd/Alvis/my_Rpython/lib/python3.9/site-packages/pyfr/", line 118, in main
  File "/cephyr/users/rubensd/Alvis/my_Rpython/lib/python3.9/site-packages/pyfr/", line 251, in process_run
  File "/cephyr/users/rubensd/Alvis/my_Rpython/lib/python3.9/site-packages/pyfr/", line 230, in _process_common
    backend = get_backend(args.backend, cfg)
  File "/cephyr/users/rubensd/Alvis/my_Rpython/lib/python3.9/site-packages/pyfr/backends/", line 12, in get_backend
    return subclass_where(BaseBackend, name=name.lower())(cfg)
  File "/cephyr/users/rubensd/Alvis/my_Rpython/lib/python3.9/site-packages/pyfr/backends/cuda/", line 21, in __init__
    self.nvrtc = NVRTC()
  File "/cephyr/users/rubensd/Alvis/my_Rpython/lib/python3.9/site-packages/pyfr/backends/cuda/", line 54, in __init__
    self.lib = NVRTCWrappers()
  File "/cephyr/users/rubensd/Alvis/my_Rpython/lib/python3.9/site-packages/pyfr/", line 15, in __init__
    self._lib = lib = load_library(self._libname)
  File "/cephyr/users/rubensd/Alvis/my_Rpython/lib/python3.9/site-packages/pyfr/", line 67, in load_library
    raise OSError(f'Unable to load {name}')
OSError: Unable to load nvrtc

I think that the main errors are:
“OSError: cannot open shared object file: No such file or directory”
“OSError: Unable to load nvrtc”

I´m new to python, pyfr and linux, so I´m really at the starting point and I´m sorry if I´m missing something easy. I hope that someone could help me.
Kind regards,

The first thing to do is update to Python>=3.10, then ensure that CUDA is in the LD_LIBRARY_PATH in the environment you are running in.

Thank you very much, now it is working! In the end it was a very simple thing to be fixed but it was taking ages for me.
Kind regards,