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

Windows环境下部署wiseflow,如何运行backend.py和tasks.py #112

Closed
SummerChris opened this issue Oct 17, 2024 · 3 comments
Closed

Comments

@SummerChris
Copy link

如题,已安装说明下载项目,虚拟环境用python -m venv .venv命令创建并激活,也做了Windows环境变量配置,pocketbase.exe已运行,但执行tasks.py报错,见下图。请教在Windows环境下,如何运行项目?
图片
图片

@bigbrother666sh
Copy link
Member

没有配置.env,而且按照你这种运行方式,可能程序也找不到.env ……
请严格按照 readme 进行操作

@ezrealliu
Copy link

将 git 的sh 加到 系统环境中;先开启 pb (需要直接走到 pb 目录下,第一次执行按 readme.md 中操作 );然后开启另一个 命令行;按 readme.md 中文档说的 把 core/scripts 中的 *.sh 复制到 core 中,进入到 core 目录, 创建 conda wiseflow 环境,安装所需要的包,使用 sh start_backend.sh;同样的操作 start_tasks.sh 都可以跑起来

@ezrealliu
Copy link

可以借鉴下我的部署过程: https://juejin.cn/post/7428119275473879052

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

3 participants