构建搞可用MVC
来源:8-2 构建高可用MVC 优化

慕妹7290610
2023-09-14
加上@command报错
C:\Users\hxj\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask_sqlalchemy_init_.py:872: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds sign
ificant overhead and will be disabled by default in the future. Set it to True or False to suppress this warning.
warnings.warn(FSADeprecationWarning(
Traceback (most recent call last):
File “D:\project\aaa\ppt8\8.12\manager.py”, line 13, in
@Command
^^^^^^^
File “C:\Users\hxj\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask_script\commands.py”, line 118, in init
args, varargs, keywords, defaults = inspect.getargspec(func)
^^^^^^^^^^^^^^^^^^
AttributeError: module ‘inspect’ has no attribute ‘getargspec’. Did you mean: ‘getargs’?
PS D:\project\aaa\ppt8\8.12>
1回答
-
编程浪子
2023-11-22
您好
非常抱歉,虽然抱歉比较苍白,最近项目太多,直到年底都排满了,忽略了解答,真挚的抱歉。
麻烦你把执行的命令和 控制台报错完全发出来,目前贴出来的信息无法排查问题。
还有好像没有8.12这个章节吧,是不是写错了
00
相似问题