kotaemon icon indicating copy to clipboard operation
kotaemon copied to clipboard

[BUG] - <title>No module named 'theflow

Open wangyc23 opened this issue 1 year ago • 4 comments

Description

finished the install process, but can not launching in browser

Reproduction steps

******************************************************
Setting up a local model
******************************************************

Local model not found: llama3.1:8b

******************************************************
Launching Kotaemon in your browser, please wait...
******************************************************

Traceback (most recent call last):
  File "/Users/nothing/resource/kotaemon-app/app.py", line 3, in <module>
    from theflow.settings import settings as flowsettings
ModuleNotFoundError: No module named 'theflow'

Will exit now...

Screenshots

![DESCRIPTION](LINK.png)

Logs

******************************************************
Launching Kotaemon in your browser, please wait...
******************************************************

Traceback (most recent call last):
  File "/Users/nothing/resource/kotaemon-app/app.py", line 3, in <module>
    from theflow.settings import settings as flowsettings
ModuleNotFoundError: No module named 'theflow'

Will exit now...

Browsers

Safari

OS

MacOS

Additional information

No response

wangyc23 avatar Sep 08 '24 09:09 wangyc23

why???

cristianohello avatar Oct 25 '24 10:10 cristianohello

why???

I tried it several times, this bug didn't appear again. Sorry to say that I'm confusing about it too.

wangyc23 avatar Oct 25 '24 10:10 wangyc23

This is still happening on a fresh windows install. I have already commented it in in #430

Starting Kotaemon UI... (prebuilt PDF.js is at C:\kotaemon-app\libs\ktem\ktem\assets\prebuilt\pdfjs-4.0.379-dist)
Traceback (most recent call last):
  File "C:\kotaemon-app\app.py", line 3, in <module>
    from theflow.settings import settings as flowsettings
ModuleNotFoundError: No module named 'theflow'

Please reopen it.

lfpvillegas avatar Dec 02 '24 09:12 lfpvillegas

It might be due to the global Python environment. Execute which python to check if it is the same as the Python used by conda create.

EthanLiBin avatar Jan 03 '25 07:01 EthanLiBin