摘要: 错误如下图: 问题原因: 因为inspect.getargspec 在 3.11+ 中已弃用。 翻看源码如下图 解决方案: 解决方法是使用 inspect.fullargspec 代替,并添加 3 个虚拟变量,因为 getfullargspec 将返回 7 个项目而不是 4 个: args, var 阅读全文
posted @ 2024-05-02 22:28 Excel2016 阅读(963) 评论(0) 推荐(1)
摘要: flask版本:3.0.3 Flask-Script:2.0.6 Flask-script使用及错误No module named flask._compat 解决方法 windows下推荐解决方案, 点击 flask_script 进入 init.py文件 或虚拟环境\Lib\site-packa 阅读全文
posted @ 2024-05-02 21:09 Excel2016 阅读(913) 评论(1) 推荐(1)
摘要: 问题报错: RuntimeError: Working outside of application context. This typically means that you attempted to use functionality that needed the current appli 阅读全文
posted @ 2024-05-02 18:29 Excel2016 阅读(312) 评论(0) 推荐(0)