How to deal with this Python sundials library error?

76 Views Asked by At

I'm trying to use the assimulo library in Python to solve differential-algebraic equations. I am programming this in Spyder using the anaconda environment. I have used mamba to install assimulo (since conda itself was incredibly slow and kept ending up in errors) and mamba installed assimulo, including sundials, successfully. However, trying to import the IDA solver, I get following error:

Could not find libsundials_sunlinsolsuperlumt.so.4.6.1: cannot open shared object file: No such file or directory
Traceback (most recent call last):

  File ~/anaconda3/envs/olderPythonVersion/lib/python3.10/site-packages/spyder_kernels/py3compat.py:356 in compat_exec
    exec(code, globals, locals)

  File ~/Desktop/testscript.py:11
    from solver import Solver

  File ~/Desktop/solver.py:10
    from assimulo.solvers import IDA

I am quite a novice to Python and have spent about 80% of my programming time to date trying to get packages to work (hence I am very frustrated at this point). Any help or advice with this would be much appreciated.

0

There are 0 best solutions below