本地启动服务报错问题
#5221
Replies: 1 comment
-
You could remove this line |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
本地py环境Python 3.10.11,当启动api下的ragflow_server.py文件是报错Traceback (most recent call last):
File "E:\SoftWare\gitProject\newRagFlow\ragflow\api\ragflow_server.py", line 21, in
from api.utils.log_utils import initRootLogger
File "E:\SoftWare\gitProject\newRagFlow\ragflow\api_init_.py", line 17, in
from beartype.claw import beartype_this_package
File "C:\Users\wutao\AppData\Local\Programs\Python\Python39\lib\site-packages\beartype_init_.py", line 158, in
from beartype._decor.decormain import (
File "C:\Users\wutao\AppData\Local\Programs\Python\Python39\lib\site-packages\beartype_decor\decormain.py", line 26, in
from beartype._conf.confcls import BeartypeConf
File "C:\Users\wutao\AppData\Local\Programs\Python\Python39\lib\site-packages\beartype_conf\confcls.py", line 49, in
from beartype._conf.confoverrides import (
File "C:\Users\wutao\AppData\Local\Programs\Python\Python39\lib\site-packages\beartype_conf\confoverrides.py", line 15, in
from beartype._data.hint.datahinttyping import (
File "C:\Users\wutao\AppData\Local\Programs\Python\Python39\lib\site-packages\beartype_data\hint\datahinttyping.py", line 294, in
BeartypeReturn = Union[BeartypeableT, BeartypeConfedDecorator]
File "C:\Users\wutao\AppData\Local\Programs\Python\Python39\lib\typing.py", line 243, in inner
return func(*args, **kwds)
File "C:\Users\wutao\AppData\Local\Programs\Python\Python39\lib\typing.py", line 316, in getitem
return self._getitem(self, parameters)
File "C:\Users\wutao\AppData\Local\Programs\Python\Python39\lib\typing.py", line 421, in Union
parameters = _remove_dups_flatten(parameters)
File "C:\Users\wutao\AppData\Local\Programs\Python\Python39\lib\typing.py", line 215, in _remove_dups_flatten
all_params = set(params)
TypeError: unhashable type: 'list',如何调整呢
Beta Was this translation helpful? Give feedback.
All reactions