Skip to content
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

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

Closed
2 tasks
SamllPigYanDong opened this issue Aug 14, 2024 · 2 comments

Comments

@SamllPigYanDong
Copy link

SamllPigYanDong commented Aug 14, 2024

Is there an existing issue for this?

  • I have searched the existing issues
  • I have checked #657 to validate if my issue is covered by community support

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

  • GraphRAG Version:
  • Operating System:
  • Python Version:
  • Related Issues:
@SamllPigYanDong SamllPigYanDong changed the title [Issue]: <title> 运行webserver的main.py的时候报错 [Issue]: <title> 运行webserver的main.py的时候报错 【python webserver/main.py】 Aug 14, 2024
@KylinMountain
Copy link
Owner

try python -m webserver.main

@KylinMountain
Copy link
Owner

No reponse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants