添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

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

操作系统:Windows-10-10.0.22621-SP0.
python版本:3.10.12 | packaged by conda-forge | (main, Jun 23 2023, 22:34:57) [MSC v.1936 64 bit (AMD64)]
项目版本:v0.2.6
langchain版本:0.0.327. fastchat版本:0.2.31

当前使用的分词器:ChineseRecursiveTextSplitter
当前启动的LLM模型:['chatglm3-6b'] @ cuda
{'device': 'cuda',
'host': '127.0.0.1',
'infer_turbo': False,
'model_path': 'model\chatglm3-6b',
'port': 20002}
当前Embbedings模型: m3e-base @ cuda

异常如下:

Process WEBUI Server:
Traceback (most recent call last):
File "C:\ProgramData\anaconda3\lib\multiprocessing\process.py", line 314, in _bootstrap
self.run()
File "C:\ProgramData\anaconda3\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "D:\168知识库办公助手\startup.py", line 447, in run_webui
p = subprocess.Popen(["streamlit", "run", "webui.py",
File "C:\ProgramData\anaconda3\lib\subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\ProgramData\anaconda3\lib\subprocess.py", line 1440, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

Process WEBUI Server:
Traceback (most recent call last):
File "D:\PythonTools\Anaconda3\AnacondaPythonOther\LangChain\lib\multiprocessing\process.py", line 314, in _bootstrap
self.run()
File "D:\PythonTools\Anaconda3\AnacondaPythonOther\LangChain\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "D:\PythonProject\Langchain-Chatchat-0.2.6\startup.py", line 447, in run_webui
p = subprocess.Popen(["streamlit", "run", "webui.py",
File "D:\PythonTools\Anaconda3\AnacondaPythonOther\LangChain\lib\subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\PythonTools\Anaconda3\AnacondaPythonOther\LangChain\lib\subprocess.py", line 1456, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

python版本3.10.12,安装对应的torch gpu,再安装
pip install -r requirements.txt
pip install -r requirements_api.txt
pip install -r requirements_webui.txt
在Centos7上CUDA11.2 ,windows11上CUDA12.1都成功了
@ouyyy18

在使用WINDOS安装依赖时,就算是新环境也会出现error: [WinError 2] 系统找不到指定的文件。 ERROR: Failed building wheel for jq #2518

采用最轻模式lite本地部署方案,报异常
Traceback (most recent call last):
File "D:\SoftWare\anaconda3\envs\Langchain-chatchat\Lib\multiprocessing\process.py", line 314, in _bootstrap
self.run()
File "D:\SoftWare\anaconda3\envs\Langchain-chatchat\Lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "F:\tphy\code\Langchain-Chatchat-master\startup.py", line 467, in run_webui
p = subprocess.Popen(cmd)
^^^^^^^^^^^^^^^^^^^^^
File "D:\SoftWare\anaconda3\envs\Langchain-chatchat\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\SoftWare\anaconda3\envs\Langchain-chatchat\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] 系统找不到指定的文件。