-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chatchat0.3.1.3启动报错FileNotFoundError: [Errno 2] No such file or directory #5146
Comments
I found that the Langchain-Chatchat startup process requires specific files or directories, such as Additionally, ensure that all necessary configuration files are correctly set up in your To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
root@354e4d900ca2:
|
It seems like the necessary files for the NLTK data are already downloaded and placed correctly in your
If these steps do not resolve the issue, there might be a deeper configuration or environment problem that needs to be addressed. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
root@354e4d900ca2:~/chatchat_data# ls |
Since you've verified the configuration files, checked the logs, set the
If these steps do not resolve the issue, it might be helpful to isolate the problem by running a minimal version of the application or checking for any recent changes that could have introduced the error. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
没得,试下python3.10 |
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/numpy/init.py", line 141, in
from . import core
File "/usr/local/lib/python3.11/site-packages/numpy/core/init.py", line 23, in
from . import multiarray
File "/usr/local/lib/python3.11/site-packages/numpy/core/multiarray.py", line 10, in
from . import overrides
File "/usr/local/lib/python3.11/site-packages/numpy/core/overrides.py", line 6, in
from numpy.core._multiarray_umath import (
KeyboardInterrupt
==============================Langchain-Chatchat Configuration==============================
操作系统:Linux-5.4.0-81-generic-x86_64-with-glibc2.36.
python版本:3.11.9 (main, Aug 13 2024, 02:18:20) [GCC 12.2.0]
项目版本:0.3.1.3
langchain版本:0.1.17
数据目录:/root/chatchat_data
当前使用的分词器:ChineseRecursiveTextSplitter
默认选用的 Embedding 名称: custom-embedding
==============================Langchain-Chatchat Configuration==============================
2024-12-19 16:54:42.058 | INFO | chatchat.startup:start_main_server:257 - 正在启动服务:
2024-12-19 16:54:42.062 | INFO | chatchat.startup:start_main_server:258 - 如需查看 llm_api 日志,请前往 /root/chatchat_data/data/logs
Traceback (most recent call last):
File "/usr/local/bin/chatchat", line 6, in
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/Langchain-Chatchat/libs/chatchat-server/chatchat/startup.py", line 374, in main
loop.run_until_complete(start_main_server(args))
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/root/Langchain-Chatchat/libs/chatchat-server/chatchat/startup.py", line 265, in start_main_server
api_started = manager.Event()
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/multiprocessing/managers.py", line 727, in temp
token, exp = self._create(typeid, *args, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/multiprocessing/managers.py", line 607, in _create
conn = self._Client(self._address, authkey=self._authkey)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/multiprocessing/connection.py", line 519, in Client
c = SocketClient(address)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/multiprocessing/connection.py", line 647, in SocketClient
s.connect(address)
FileNotFoundError: [Errno 2] No such file or directory
root@f6fc06b0299c:
/chatchat_data# ls/chatchat_data# pwdbasic_settings.yaml data data.tar.gz kb_settings.yaml model_settings.yaml prompt_settings.yaml tool_settings.yaml
root@f6fc06b0299c:
/root/chatchat_data
root@f6fc06b0299c:~/chatchat_data#
The text was updated successfully, but these errors were encountered: