-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
[root@VM-12-5-centos QQChannelChatGPT-master]# python3 -V
Python 3.9.10
[root@VM-12-5-centos QQChannelChatGPT-master]# python3 main.py
程序PID:5007
Traceback (most recent call last):
File "/root/qqchangpt/QQChannelChatGPT-master/main.py", line 175, in
check_env()
File "/root/qqchangpt/QQChannelChatGPT-master/main.py", line 152, in check_env
cfg = yaml.safe_load(ymlfile)
File "/usr/local/lib/python3.9/site-packages/yaml/init.py", line 125, in safe_load
return load(stream, SafeLoader)
File "/usr/local/lib/python3.9/site-packages/yaml/init.py", line 81, in load
return loader.get_single_data()
File "/usr/local/lib/python3.9/site-packages/yaml/constructor.py", line 49, in get_single_data
node = self.get_single_node()
File "/usr/local/lib/python3.9/site-packages/yaml/composer.py", line 36, in get_single_node
document = self.compose_document()
File "/usr/local/lib/python3.9/site-packages/yaml/composer.py", line 55, in compose_document
node = self.compose_node(None, None)
File "/usr/local/lib/python3.9/site-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/usr/local/lib/python3.9/site-packages/yaml/composer.py", line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
File "/usr/local/lib/python3.9/site-packages/yaml/parser.py", line 98, in check_event
self.current_event = self.state()
File "/usr/local/lib/python3.9/site-packages/yaml/parser.py", line 438, in parse_block_mapping_key
raise ParserError("while parsing a block mapping", self.marks[-1],
yaml.parser.ParserError: while parsing a block mapping
in "/root/qqchangpt/QQChannelChatGPT-master/configs/config.yaml", line 8, column 1
expected , but found ''
in "/root/qqchangpt/QQChannelChatGPT-master/configs/config.yaml", line 51, column 3