python3 flask shell
python shell来操作flask
flask shell
报错:
from flask_bootstrap import Bootstrap
ImportError: No module named flask_bootstraps
可是为安装flask_bootstraps了呀??原来是python2启动flask了
python3 -m flask
python3 -m flask shell这样就可以python3启动flask shell啦~