salesforce / logai

LogAI - An open-source library for log analytics and intelligence
BSD 3-Clause "New" or "Revised" License
392 stars 58 forks source link

ModuleNotFoundError: No module named 'gui' #61

Open kishore630 opened 1 year ago

kishore630 commented 1 year ago

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

m-Michi commented 10 months ago

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

zzkluck commented 10 months ago

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.