flask在return代码时提示AttributeError: ‘Request’ object has no attribute ‘is_xhr’
解决办法,卸载Werkzeug,安装0.16版本.
pip uninstall Werkzeug && pip install Werkzeug==0.16
参考
https://*.com/questions/60992849/attributeerror-request-object-has-no-attribute-is-xhr
2023-10-07 20:34:10
flask在return代码时提示AttributeError: ‘Request’ object has no attribute ‘is_xhr’
解决办法,卸载Werkzeug,安装0.16版本.
pip uninstall Werkzeug && pip install Werkzeug==0.16
参考
https://*.com/questions/60992849/attributeerror-request-object-has-no-attribute-is-xhr