tobspr / LUI

Lightweight User Interface for Panda3D
MIT License
84 stars 24 forks source link

building works but there is an import error? #61

Open BMaxV opened 2 years ago

BMaxV commented 2 years ago

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 commented 2 years ago

Try importing panda3d.core first.

BMaxV commented 2 years ago

No that doesn't work either.

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

NeueraEntmt commented 9 months ago

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!)