kotaemon icon indicating copy to clipboard operation
kotaemon copied to clipboard

ModuleNotFoundError: No module named 'theflow'

Open cristianohello opened this issue 1 year ago • 8 comments

Description

Windows pip

app.py", line 3, in from theflow.settings import settings as flowsettings ModuleNotFoundError: No module named 'theflow'

Reproduction steps

Windows
pip

app.py", line 3, in <module>
    from theflow.settings import settings as flowsettings
ModuleNotFoundError: No module named 'theflow'

Screenshots

Windows
pip

app.py", line 3, in <module>
    from theflow.settings import settings as flowsettings
ModuleNotFoundError: No module named 'theflow'

Logs

Windows
pip

app.py", line 3, in <module>
    from theflow.settings import settings as flowsettings
ModuleNotFoundError: No module named 'theflow'

Browsers

No response

OS

No response

Additional information

Windows pip

app.py", line 3, in from theflow.settings import settings as flowsettings ModuleNotFoundError: No module named 'theflow'

cristianohello avatar Oct 25 '24 10:10 cristianohello

Same issue with MacOS.

pwlnow avatar Oct 26 '24 21:10 pwlnow

Description

Windows pip

app.py", line 3, in from theflow.settings import settings as flowsettings ModuleNotFoundError: No module named 'theflow'

Reproduction steps

Windows
pip

app.py", line 3, in <module>
    from theflow.settings import settings as flowsettings
ModuleNotFoundError: No module named 'theflow'

Screenshots

Windows
pip

app.py", line 3, in <module>
    from theflow.settings import settings as flowsettings
ModuleNotFoundError: No module named 'theflow'

Logs

Windows
pip

app.py", line 3, in <module>
    from theflow.settings import settings as flowsettings
ModuleNotFoundError: No module named 'theflow'

Browsers

No response

OS

No response

Additional information

Windows pip

app.py", line 3, in from theflow.settings import settings as flowsettings ModuleNotFoundError: No module named 'theflow'

Use WSL

i also installed it manually, then it worked.

busssard avatar Oct 30 '24 13:10 busssard

Is there a better answer than "just use Linux version"?

I have same message happening when running run_windows.bat

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'

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

I found the run_windows.bat didn't completely clone the code from github. there is no libs\ktem\ktem\utils after insallation, so when I launch the app, it always report something missed. did the author verify the installation process?

liujunfx avatar Jan 27 '25 07:01 liujunfx

getting the same error

LI3ARA avatar Feb 10 '25 16:02 LI3ARA

do the following :

pip install theflow

# install the ktem/kotaemon libraries again

pip install -e "libs/ktem"

pip install -e "libs/kotaemon[base]"

VNSHANPR avatar May 23 '25 09:05 VNSHANPR