@
revol 运行的时候报错了
Traceback (most recent call last):
File "
app.py", line 28, in <module>
flask_whooshalchemyplus.init_app(app)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/Flask_WhooshAlchemyPlus-0.7.5-py3.4.egg/
flask_whooshalchemyplus.py", line 423, in init_app
whoosh_index_all(app)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/Flask_WhooshAlchemyPlus-0.7.5-py3.4.egg/
flask_whooshalchemyplus.py", line 372, in whoosh_index_all
'sqlalchemy'].db.Model._decl_class_registry.values()
KeyError: 'sqlalchemy'
zxiaobaideMacBook-Air:biaojiepay_shop zxiaobai$ python3
app.py server
Traceback (most recent call last):
File "
app.py", line 29, in <module>
flask_whooshalchemyplus.init_app(app)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/Flask_WhooshAlchemyPlus-0.7.5-py3.4.egg/
flask_whooshalchemyplus.py", line 423, in init_app
whoosh_index_all(app)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/Flask_WhooshAlchemyPlus-0.7.5-py3.4.egg/
flask_whooshalchemyplus.py", line 372, in whoosh_index_all
'sqlalchemy'].db.Model._decl_class_registry.values()
KeyError: 'sqlalchemy'
而且安装的时候提示依赖那个文件必须为 str or list 我把安装依赖的程序删了才装上