mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-30 15:21:02 +00:00
fix: python path
This commit is contained in:
parent
0d370a1a64
commit
eb24aef9f1
@ -158,10 +158,7 @@ Alternatively, you can use the following command:
|
|||||||
cd DB-GPT
|
cd DB-GPT
|
||||||
conda env create -f environment.yml
|
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.
|
Notice: You need replace the path to your owner.
|
||||||
|
|
||||||
### 3. Run
|
### 3. Run
|
||||||
|
@ -157,10 +157,6 @@ pip install -r requirements.txt
|
|||||||
cd DB-GPT
|
cd DB-GPT
|
||||||
conda env create -f environment.yml
|
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. 运行大模型
|
### 3. 运行大模型
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user