Skip to content
This repository was archived by the owner on Aug 10, 2022. It is now read-only.
This repository was archived by the owner on Aug 10, 2022. It is now read-only.

No module named xxx problem ,when the xxx is a so file .. #42

Open
@JH6588

Description

@JH6588

Describe what happened:
the first line of py code
from xxx import play

Describe what you expected:
the xxx is a so file.
Run the py script in command line is fine

Steps to reproduce the issue:
I read the the py script as string in go named code ,then python3.PyRun_SimpleString(code)
Not work , ModuleNotFoundError: no module named 'xxx'

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