冲就完了小组 编写
运行环境要求:计算机中安装了 Python 3 版本,并且安装了 Flask 库。
运行步骤:
-
使用
git clone https://github.com/helttt/TEAM-Repository.git
命令将仓库克隆至本地,或点击 Code->Download ZIP 命令下载仓库压缩包后解压。 -
用 Python 3 执行 server.py,并保持运行状态。(视环境不同,可能要运行
python server.py
或python3 server.py
)如果该步报错
ModuleNotFoundError: No module named 'flask'
,则说明 Flask 库没有安装。请根据操作系统环境,运行pip install flask
或pip3 install flask
安装。 -
从上一步运行输出中找到类似
Running on http://127.0.0.1:5000/
的内容(具体地址请以实际显示为准),在浏览器中打开相应网址。