logai icon indicating copy to clipboard operation
logai copied to clipboard

ModuleNotFoundError: No module named 'gui'

Open kishore630 opened this issue 1 year ago • 2 comments

Whenever I'm executing "python gui/application.py" this command I'm getting the following error :

Traceback (most recent call last): File "gui/application.py", line 12, in from gui.pages.utils import create_banner ModuleNotFoundError: No module named 'gui'

Please help me in resolving this error

kishore630 avatar Aug 21 '23 05:08 kishore630

I have the same problem. Have you solved it? If so, can you help me Thanks!

m-Michi avatar Oct 08 '23 09:10 m-Michi

Note the "Explore LogAI GUI Portal" section of the readme, you need to set PYTHONPATH.

cd logai
......
export PYTHONPATH='.'  # make sure to add current root to PYTHONPATH
python3 gui/application.py # Run local plotly dash server.

zzkluck avatar Oct 13 '23 17:10 zzkluck