infiniflow / ragflow

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.
https://ragflow.io
Apache License 2.0
22.86k stars 2.24k forks source link

[Bug]: No module named 'flasgger' in docker image version (dev) #3200

Closed SummerDream233 closed 1 week ago

SummerDream233 commented 1 week ago

Is there an existing issue for the same bug?

Branch name

main

Commit ID

8d9238d

Other environment information

No response

Actual behavior

The ragflow can not run

Expected behavior

No response

Steps to reproduce

pull the latest code and dev version docker image
run the docker

Additional information

Traceback (most recent call last): File "/ragflow/api/ragflow_server.py", line 26, in from api.apps import app File "/ragflow/api/apps/init.py", line 24, in from flasgger import Swagger ModuleNotFoundError: No module named 'flasgger'

SummerDream233 commented 1 week ago

Please note: The docker image version is dev instead of dev-slim

KevinHuSh commented 1 week ago

The image is updated.

SummerDream233 commented 1 week ago

The image is updated.

Excuse me, I find that the docker image infiniflow/ragflow-base:v2.0 is updated, instead of infiniflow/ragflow:dev.

I think you may need update infiniflow/ragflow:dev?

SummerDream233 commented 1 week ago

THANK YOU!! I find that you have updated the docker image infiniflow/ragflow:dev. Now, there is no problem, and I will close this comment. Thank you for your cooperation and understanding!