Skip to content

"ModuleNotFoundError" after update DLL version #2557

@YoshiyasuIzumi

Description

@YoshiyasuIzumi

Environment

  • Pythonnet version: 3.0.5
  • Python version: 3.10.5
  • Operating System: Windows 11 Version10.0.22631 Build 22631
  • .NET Framework 4.8

Details

I succussed to import DLL v5 via pythonnet, but after update to DLL v6 I failed to import DLL with "ModuleNotFoundError". I have no idea where should I start so, any advice and help is appreciated.
Also please find attached zip to reproduce this issue. In my environment, "main_v5.py" output nothing but "main_v6.py" outputs "ModuleNotFoundError".

import_issue_for_dotnet48.zip

  • The DLL vender noted "For MLComponent Ver.6.0.0.0 and later, development must be done using .NET Framework 4.8. For versions prior to Ver.5.9.11.0, it is required to develop with .NET Framework 4.0 or higher. It does not support .NET (.NET Core)."

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