Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

python3下提示module 'flask_whooshalchemyplus' has no attribute 'init_app' #18

Open
r0ckyang opened this issue Mar 18, 2019 · 3 comments

Comments

@r0ckyang
Copy link

在将py2的代码迁移到py3时,用pip安装好flask_whooshalchemyplus之后,flask_whooshalchemyplus.init_app(app)代码报错,提示没有init_app方法。

@r0ckyang
Copy link
Author

我对比了一下代码,发现作者在github上的flask_whooshalchemyplus是有init_app方法的,而我用pip安装的确没有,果断pip uninstall,手动下载安装修复,谢谢作者。

@DaveIW2034
Copy link

楼上正解

@hotsing
Copy link

hotsing commented Jan 18, 2021

手动安装是0.7.6,pypi还是2016年更新的,0.7.5,只能git手动安装了

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants