Skip to content

Problem when I import module #5

Description

@xmmzzz

I follow the step, copy the module.cpp but when I import the .pyc, there is a problem that

Message=dynamic module does not define module export function (PyInit_superfastcode)
Source=C:\Users\xmmzz\Desktop\py_C_code\Python_test\Python_test\Python_test.py
StackTrace:
File "C:\Users\xmmzz\Desktop\py_C_code\Python_test\Python_test\Python_test.py", line 30, in
import superfastcode

how can I solve the problem. Is that I am doing something wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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