salesforce / logai

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

Module not found error #66

Open TonyCruez opened 9 months ago

TonyCruez commented 9 months ago

Note------- previously runned this cmd cd logai-main-> pip install ".[gui]"

$ python gui/application.py Traceback (most recent call last): File "D:\logai-main\gui\application.py", line 14, in from gui.pages.utils import create_banner ModuleNotFoundError: No module named 'gui'

AzenoX commented 6 months ago

Hello^^ I had the same error, you have to run this command before running your application: export PYTHONPATH='.'

The path has to be the current path of your app, not python's path :)

Hope it will help you (and others who gets on this page)^^