Skip to content

i have a solution for "ModuleNotFoundError: No module named" but i don't know if it is a bug #2148

@andreabisello

Description

@andreabisello

Environment

  • Pythonnet version: 3.0.1
  • Python version: 3.11
  • Operating System: windows 11 full updated
  • .NET Runtime: 4.7.1

Details

  • Describe what you were trying to get done.

    I'm trying to load a class definition from a .dll but even if the loading of the dll looks fine the namespace and class definition is not loaded.

This is the dll

image

and this is what happens after the loading of the dll: namespace is not loaded even if there are no exception

image

but this is related with some missing dependencies, because if i take all the dll and other file related with the project and i try the same, then the namespace is loaded and the class definition appears.

image

in another project, the framework was complaining for a missing dll, but in this case no. everything looks working, but instead there is something missing.

i think this is a bug.

is this a bug?

thanks

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