qd-today / qd

QD [v20240210] —— HTTP请求定时任务自动执行框架 base on HAR Editor and Tornado Server
https://qd-today.github.io/qd/
MIT License
4.45k stars 576 forks source link

[Bug] 使用源码的方式部署项目无法启动 #444

Closed yaoysyao closed 1 year ago

yaoysyao commented 1 year ago

Verify steps

QD Version

最新源码

Bug on OS

Windows

Bug on Platform

Code Build/Windows x64

To Reproduce

按照(https://qd-today.github.io/qd/zh_CN/guide/deployment.html)说明文档中的部署说明,python版本为3.8,安装了requirements.txt中所需要的库,使用python ./run.py 命令启动项目出现错误 Traceback (most recent call last): File "./run.py", line 21, in <module> from web.app import Application File "E:\MyJob\PyCharm\qd\web\app.py", line 16, in <module> from libs.fetcher import Fetcher File "E:\MyJob\PyCharm\qd\libs\fetcher.py", line 29, in <module> from .safe_eval import safe_eval File "E:\MyJob\PyCharm\qd\libs\safe_eval.py", line 611, in <module> zoneinfo = wrap_module(__import__('zoneinfo'), [ ModuleNotFoundError: No module named 'zoneinfo'

Describe the Bug

如上所述

QD config

No response

QD log

Expected behavior

Screenshots

image

uiolee commented 1 year ago

No module named 'zoneinfo' .

Update python to version 3.9 or higher

yaoysyao commented 1 year ago

No module named 'zoneinfo' .

Update python to version 3.9 or higher

已解决