From eb24aef9f118d0b3010635dd3fc8a88da4bbf193 Mon Sep 17 00:00:00 2001 From: csunny Date: Thu, 18 May 2023 17:36:59 +0800 Subject: [PATCH] fix: python path --- README.md | 5 +---- README.zh.md | 4 ---- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/README.md b/README.md index 311fb1f54..c74a120ec 100644 --- a/README.md +++ b/README.md @@ -158,10 +158,7 @@ Alternatively, you can use the following command: cd DB-GPT conda env create -f environment.yml ``` -It is recommended to set the Python package path to avoid runtime errors due to package not found. -``` -echo "/root/workspace/DB-GPT" > /root/miniconda3/env/dbgpt_env/lib/python3.10/site-packages/dbgpt.pth -``` + Notice: You need replace the path to your owner. ### 3. Run diff --git a/README.zh.md b/README.zh.md index 976db50e0..c786cfe35 100644 --- a/README.zh.md +++ b/README.zh.md @@ -157,10 +157,6 @@ pip install -r requirements.txt cd DB-GPT conda env create -f environment.yml ``` -另外需要设置一下python包路径, 避免出现运行时找不到包 -``` -echo "/root/workspace/DB-GPT" > /root/miniconda3/env/dbgpt_env/lib/python3.10/site-packages/dbgpt.pth -``` ### 3. 运行大模型