KylinMountain / graphrag-server

添加🚀流式 Web 服务到 GraphRAG,兼容 OpenAI SDK,支持可访问的实体链接🔗,支持建议问题,兼容本地嵌入模型,修复诸多问题。Add streaming web server to GraphRAG, compatible with OpenAI SDK, support accessible entity link, support advice question, compatible with local embedding model, fix lots of issues.
https://microsoft.github.io/graphrag/
MIT License
201 stars 26 forks source link

[Issue]: <title> 运行webserver的main.py的时候报错 【python webserver/main.py】 #17

Closed SamllPigYanDong closed 3 months ago

SamllPigYanDong commented 3 months ago

Is there an existing issue for this?

Describe the issue

运行webserver的main.py的时候报错 报错内容 Initializing /etc/webserver directory Traceback (most recent call last): File "D:\graphragWebserver\graphrag\webserver\main.py", line 26, in <module> from webserver import gtypes File "C:\ProgramData\miniconda3\envs\graphragserver\lib\site-packages\webserver\__init__.py", line 17, in <module> run_command(["sudo", "mkdir", "-p", f"/etc/webserver/{folder}"]) File "C:\ProgramData\miniconda3\envs\graphragserver\lib\subprocess.py", line 503, in run with Popen(*popenargs, **kwargs) as process: File "C:\ProgramData\miniconda3\envs\graphragserver\lib\subprocess.py", line 971, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\ProgramData\miniconda3\envs\graphragserver\lib\subprocess.py", line 1456, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] 系统找不到指定的文件。 请问这是我安装操作的哪一步没有正确么?

Steps to reproduce

No response

GraphRAG Config Used

# Paste your config here

Logs and screenshots

No response

Additional Information

KylinMountain commented 3 months ago

try python -m webserver.main

KylinMountain commented 3 months ago

No reponse