tobspr / LUI

Lightweight User Interface for Panda3D

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

building works but there is an import error?

BMaxV opened this issue · comments

commented

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

commented

Try importing panda3d.core first.

commented

No that doesn't work either.

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

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