Skip to content

PyO3 Python extension missing dlls #4

Open
@Design0r

Description

@Design0r

Hi, im trying to make a simple python extension using maturin and the PyO3 bindings.

The Program loads an .exr file and saves it as a .jpg and its working fine as a standalone tool.
So i used maturin to create a python extension and when I try to import this extension in a python script i get following error:

“ImportError: Dll Load Failed: The specified module could not be found”.

I inspected the generated .pyd file with Dependency Walker and found it had issues finding a "OPENEXR-C-0_10-SHARED.DLL".
I have honestly no Idea where to get this file from as i cant find it in the prebuilt openexr release in the target folder of my rust project.

Any tips would be greatly appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions