解决"学习python-flask教程,下载源码运行的时候出现:TypeError: 'bool' object is not callable 错误代码:"
2017-10-10 16:38
946 查看
我也跟着教程敲代码,Google老半天,结果在一篇俄国人的帖子中找的这个,https://plus.google.com/+MiguelGrinberg/posts/9o9idDfaYhK,尼玛,Miguel Grinberg这货说Flask-Login的0.3版本有问题,等他有时间再改,先用0.2.11。
好,果断换回旧版本:
>pip uninstall Flask-Login
>pip install -v Flask-Login==0.2.11
好,果断换回旧版本:
>pip uninstall Flask-Login
>pip install -v Flask-Login==0.2.11
相关文章推荐
- python错误TypeError: 'module' object is not callable 的解决方法
- python3学习笔记1--TypeError: 'dict' object is not callable的解决
- python错误TypeError: 'module' object is not callable 的解决方法
- python错误TypeError: 'module' object is not callable 的解决方法
- python2.7web代码用python3.6运行时,浏览器发送请求报错TypeError: Object of type 'bytes' is not JSON serializable的解决办法
- python Flask :TypeError: 'dict' object is not callable
- Python 出现错误TypeError: ‘NoneType’ object is not iterable解决办法
- python import 错误 TypeError: 'module' object is not callable
- 【Python】TypeError: 'module' object is not callable 原因分析
- StarUML启动时候出现"System Error. Code:1722. RPC服务器不可用."错误的解决办法
- 解决QPST 出现的 "服务器正在运行" 的 下载错误.
- 【已解决】Python脚本运行出现语法错误:IndentationError: unindent does not match any outer indentation level
- TypeError: 'numpy.ndarray' object is not callable错误的处理办法
- Python导入模块(包)的两种方式 TypeError: 'module' object is not callable
- StarUML启动时候出现"System Error. Code:1722. RPC服务器不可用."错误的解决办法
- html内容写入到文件中的时候出现‘TypeError: expected a character buffer object’错误
- 【已解决】Python脚本运行出现语法错误:IndentationError: unindent does not match any outer indentation level
- Titanium -- 运行app出现错误: TypeError: argument of type 'NoneType' is not iterable
- 【Python】python "TypeError: 'NoneType' object is not iterable"错误分析
- Anaconda下import caffe出现错误TypeError: 'module' object is not callable