[flask]AttributeError: ‘Request‘ object has no attribute ‘is_xhr‘
作者:互联网
flask在return代码时提示AttributeError: ‘Request’ object has no attribute ‘is_xhr’
解决办法,卸载Werkzeug,安装0.16版本.
pip uninstall Werkzeug && pip install Werkzeug==0.16
参考
https://stackoverflow.com/questions/60992849/attributeerror-request-object-has-no-attribute-is-xhr
标签:no,flask,attribute,object,xhr,Werkzeug,pip 来源: https://blog.csdn.net/nongcunqq/article/details/120736735