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

building works but there is an import error? #61

Open
BMaxV opened this issue Aug 9, 2022 · 3 comments
Open

building works but there is an import error? #61

BMaxV opened this issue Aug 9, 2022 · 3 comments

Comments

@BMaxV
Copy link

BMaxV commented Aug 9, 2022

Hi, tried your project, didn't work this is the problem I ran into:

Traceback (most recent call last):
  File "B_BlockText.py", line 3, in <module>
    from DemoFramework import DemoFramework
  File "/home/max/Documents/Python/LUI/Demos/DemoFramework.py", line 15, in <module>
    from LUIRegion import LUIRegion
  File "/home/max/Documents/Python/LUI/Demos/../Builtin/LUIRegion.py", line 7, in <module>
    from panda3d.lui import LUIRegion as __LUIRegion
NameError: name 'TypeHandle' is not defined

@rdb
Copy link
Collaborator

rdb commented Aug 10, 2022

Try importing panda3d.core first.

@BMaxV
Copy link
Author

BMaxV commented Aug 12, 2022

No that doesn't work either.

To clarify, it's the demos in the project that aren't working.

@NeueraEntmt
Copy link

Same issue :( Builded successfully and copied lui.pyd to 'C:\Panda3D-1.11.0-x64\panda3d' but giving an import error;

    >> python 01_MinimalExample.py
from panda3d.lui import LUIObject as _LUIObject
ImportError: DLL load failed while importing lui: Belirtilen modül bulunamadı. (Can't find module!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants