DB-GPT icon indicating copy to clipboard operation
DB-GPT copied to clipboard

[BUG]: TypeError: 'type' object is not subscriptable

Open 986353307 opened this issue 2 years ago • 1 comments

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

986353307 avatar Jun 21 '23 05:06 986353307

Has your issue been resolved? I recommend trying the latest version for potential improvements.

Installation

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

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

Usage documentation

csunny avatar Dec 05 '23 11:12 csunny