天道酬勤,学无止境

bugs

Faq_flask : AttributeError: ‘module’ object has no attribute ‘autoescape’

原文地址: http://www.suzf.net/thread-0613-153.html转载须注明原始出处前些天从 “spider_net” 上找了一篇文章 , 大致就是利用 highcharts + flask + mysql 构建的一个简单的监控系统 ,经过几番挣扎终于还是给捣持出来了 , 现在总结一下 , 分享给大家 . o_O部分报错信息:* Detected change in ‘flask_web.py’, reloading* Restarting with reloaderX.X.X.X – – [11/Jun/2015 15:24:14] “GET / HTTP/1.1″ 500 –Traceback (most recent call last):……File “/usr/lib64/python2.6/site-packages/jinja2/utils.py”, line 195, in import_stringreturn getattr(__import__(module, None, None, [obj]), obj)AttributeError: ‘module’ object has no attribute ‘autoescape’解决办法:yum install python-pip -ypip install --upgrade

2021-06-01 21:28:33    分类:博客    python   bugs   flask   python