Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libcasadi_interpolant_linear.dll not found #3696

Open
L0tusC00kie opened this issue May 16, 2024 · 1 comment
Open

libcasadi_interpolant_linear.dll not found #3696

L0tusC00kie opened this issue May 16, 2024 · 1 comment

Comments

@L0tusC00kie
Copy link

Hi everyone,
I keep receiving this error, although I checked the Lib\site-packages Folder and the mention dll is definitely there:

RuntimeError: .../casadi/core/casadi_os.cpp:166: Assertion "handle!=nullptr" failed:
PluginInterface::load_plugin: Cannot load shared library 'libcasadi_interpolant_linear.dll':
(
Searched directories: 1. casadipath from GlobalOptions
2. CASADIPATH env var
3. PATH env var (Windows)
4. LD_LIBRARY_PATH env var (Linux)
5. DYLD_LIBRARY_PATH env var (osx)
A library may be 'not found' even if the file exists:
* library is not compatible (different compiler/bitness)
* the dependencies are not found
)
Tried 'C:\Users\Schätzelein\Documents\Forschungspraxis\Model\myenv\Lib\site-packages\casadi' :
Error code (WIN32): 126
Tried '' :
Error code (WIN32): 126
Tried '.' :
Error code (WIN32): 126

I have Python 3.11.9 64-bit and currently want to run a model with PyBamm. Does anyone encounter the same issue?

@agriyakhetarpal
Copy link

Hi, @L0tusC00kie – this was fixed in pybamm-team/PyBaMM#4077 and will be available in the v24.5 pre-releases and subsequent stable release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants