jayanam / bl_ui_widgets

UI Widgets for Blender 2.8
GNU General Public License v3.0
150 stars 38 forks source link

ModuleNotFoundError: No module named '__main__.drag_panel_op #5

Closed BerglerAndi closed 3 years ago

BerglerAndi commented 4 years ago

Im not able to import the modules.

What cant i do?

jayanam commented 4 years ago

How do you import and what do you import?

On Sun, Aug 30, 2020 at 6:33 PM BerglerAndi notifications@github.com wrote:

Im not able to import the modules.

What cant i do?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jayanam/bl_ui_widgets/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJUGIFXD64TLYLOXPTL5DDSDJ5O3ANCNFSM4QPWXUVA .

BerglerAndi commented 4 years ago

I tried to start init.py in blender text-editor and got this error

File "D:\Blender\Skript\bl_ui_widgets-master\bl_ui_widgets-master\drag_panel.blend__init.py", line 15, in ModuleNotFoundError: No module named 'main.drag_panel_op'; 'main__' is not a package Fehler: Python script failed, check the message in the system console

jayanam commented 4 years ago

It's an addon, you can import it like any other addon, dont unzip, just import the zip file in the user preferences.

On Sun, Aug 30, 2020 at 6:48 PM BerglerAndi notifications@github.com wrote:

I tried to start init.py in blender text-editor and got this error

File "D:\Blender\Skript\bl_ui_widgets-master\bl_ui_widgets-master\dragpanel.blend init_.py", line 15, in ModuleNotFoundError: No module named 'main.drag_panel_op'; 'main' is not a package Fehler: Python script failed, check the message in the system console

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jayanam/bl_ui_widgets/issues/5#issuecomment-683443177, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJUGIHTWAAAN534NH3LCHTSDJ7GXANCNFSM4QPWXUVA .

BerglerAndi commented 4 years ago

Oh man, thank you.. :-)