LUI icon indicating copy to clipboard operation
LUI copied to clipboard

building works but there is an import error?

Open BMaxV opened this issue 3 years ago • 3 comments

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

BMaxV avatar Aug 09 '22 15:08 BMaxV

Try importing panda3d.core first.

rdb avatar Aug 10 '22 06:08 rdb

No that doesn't work either.

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

BMaxV avatar Aug 12 '22 08:08 BMaxV

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

NeueraEntmt avatar Nov 30 '23 17:11 NeueraEntmt