Skip to content

Not able to execute python journal as find_module is deprecated in python 3.12 #127634

@pythonissue

Description

@pythonissue

Bug report

Bug description:

I have one journal "journal.py" where i want to import
import NXOpen.Xyz
import NXOpen.Pqr

these two namespaces are present in one folder in the form of NXOpen_Xyz.pyd and NXOpen_Pqr.pyd.

While executing the journal it is not executing but upto python 3.11.9 it was working where we have used find_module and load_module.

Is there replacement of find_module and load_module and how to use them instead of find_module and load_module.

Any help is appreciated in advance.
Could any one please take it as priority.

Thanks,
Ajaya

CPython versions tested on:

3.12

Operating systems tested on:

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions