代码拉取完成,页面将自动刷新
说实在的,我也不知道具体是做什么业务…… 😂
clone 项目后,做如下操作,初始化工程。
# 初始化虚拟环境
python3 -m venv --copies --clear .venv
# 激活虚拟环境
source .venv/bin/activate
# 安装依赖
pip install -r requirements.txt
# 安装依赖(用清华大学的镜像),如果上面直接安装比较慢的话
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
# all done,可以愉快的开发和调试了 🎉
# 推荐开发工具: vscode、pycharm
两种打包方式: pyinstaller
& shiv
,已经写好了脚本,任君选择。
运行时提示诸如
.....
.....
RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment. Consult https://click.palletsprojects.com/python3/ for mitigation steps.
This system lists a couple of UTF-8 supporting locales that you can pick from.
.....
.....
# 看下系统里有哪些字符集
locale -a
# 选择支持中文 UTF-8 的
# 例如:
export LC_ALL=en_HK.utf8
export LANG=en_HK.utf8
# 或者:
export LC_ALL=zh_CN.utf8
export LANG=zh_CN.utf8
运行预编译的二进制包报错,GLIBC 版本出现兼容问题。建议的解决方案有 2。
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。