虚拟机环境部署
系统环境:使用VMware和Ubuntu22.04
docker和docker-compose安装:
Ubuntu 22.04 LTS 中安装 Docker 和 Docker Compose | syxdevcode博客
python12安装:
Ubuntu22.04安装python3.12_ubuntu安装python3.12-CSDN博客
poerty安装:
Launch the RAGFlow Service from Source | RAGFlow
RAGFlow安装
Launch the RAGFlow Service from Source | RAGFlow
遇到问题和方案
Resource wordnet not found.Please use the NLTK Downloader to obtain the resource:>>> import nltk>>> nltk.download('wordnet')For more information see: https://www.nltk.org/data.htmlAttempted to load corpora/wordnetSearched in:- '/Users/zhiboyuan/nltk_data'- '/opt/miniconda3/envs/ragflow/nltk_data'- '/opt/miniconda3/envs/ragflow/share/nltk_data'- '/opt/miniconda3/envs/ragflow/lib/nltk_data'- '/usr/share/nltk_data'- '/usr/local/share/nltk_data'- '/usr/lib/nltk_data'- '/usr/local/lib/nltk_data'
在ragflow的python虚拟环境下 执行下方代码即可安装
python -c "import nltk;nltk.download('wordnet');"