DB-GPT [BUG]: TypeError: 'type'对象不可下标

pobjuy32  于 4个月前  发布在  其他
关注(0)|答案(1)|浏览(69)

playsound is relying on another python subprocess. Please use pip install pygobject if you want playsound to run more efficiently.
Traceback (most recent call last):
File "pilot/server/llmserver.py", line 21, in
from pilot.configs.config import Config
File "/root/autodl-tmp/DB-GPT/pilot/init.py", line 1, in
from pilot.source_embedding import SourceEmbedding, register
File "/root/autodl-tmp/DB-GPT/pilot/source_embedding/init.py", line 1, in
from pilot.source_embedding.source_embedding import SourceEmbedding, register
File "/root/autodl-tmp/DB-GPT/pilot/source_embedding/source_embedding.py", line 8, in
from pilot.vector_store.connector import VectorStoreConnector
File "/root/autodl-tmp/DB-GPT/pilot/vector_store/connector.py", line 1, in
from pilot.vector_store.chroma_store import ChromaStore
File "/root/autodl-tmp/DB-GPT/pilot/vector_store/chroma_store.py", line 5, in
from pilot.logs import logger
File "/root/autodl-tmp/DB-GPT/pilot/logs.py", line 13, in
from pilot.speech import say_text
File "/root/autodl-tmp/DB-GPT/pilot/speech/init.py", line 1, in
from pilot.speech.say import say_text
File "/root/autodl-tmp/DB-GPT/pilot/speech/say.py", line 34, in
def _get_voice_engine(config: Config) -> tuple[VoiceBase, VoiceBase]:
TypeError: 'type' object is not subscriptable

kgqe7b3p

kgqe7b3p1#

你的问题是否已经解决?我建议你尝试最新版本,可能会有改进。

安装

python >= 3.10
conda create -n dbgpt_env python=3.10
conda activate dbgpt_env

# it will take some minutes
pip install -e ".[default]"

使用文档

相关问题