Skip to content

Config.py Failing After Sending Wrong Type to cdll.LoadLibrary() #116

@Walter3ffb

Description

@Walter3ffb

In line 285 of config.py, cdll.LoadLibrary takes mkl_path as an argument,
mkl = cdll.LoadLibrary(mkl_path)

mkl_path is a Path object, where LoadLibrary only accepts strings.

This leads to MCEq failing to run if the path to mkl exists (at least on Windows 10).

This should be fixable by sending mkl_path as a string.
mkl = cdll.LoadLibrary(str(mkl_path))

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions