Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The registered Python class cannot be recognized and imported during the compilation of the library. #1125

Open
despotx opened this issue May 12, 2024 · 1 comment
Labels
needs details Needs more information to reproduce or more details

Comments

@despotx
Copy link

despotx commented May 12, 2024

I have registered a Python class using SimObject within the Sconscript file, and this class is callable within scripts. However, when I attempted to integrate this class into the library and recompiled, I received a ModuleNotFoundError. Is there any additional implicit definition required to register a Python class as a module? I have searched extensively and examined many Python classes that can be imported as modules, but I have not discovered any particular distinctions.
I would greatly appreciate any help that's possible.

@ivanaamit
Copy link
Contributor

@despotx, could you please provide your code? Thanks.

@ivanaamit ivanaamit added the needs details Needs more information to reproduce or more details label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs details Needs more information to reproduce or more details
Projects
None yet
Development

No branches or pull requests

2 participants