解决:

from flask.ext.httpauth import HTTPBasicAuth

改为

from flask_httpauth import HTTPBasicAuth

提示ModuleNotFoundError: No module named 'flask_httpauth'

pip install flask_httpauth

然后即可运行。

相关文章:

  • 2022-12-23
  • 2021-10-13
  • 2021-10-22
  • 2021-08-26
  • 2021-12-19
  • 2021-04-19
  • 2021-05-27
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-28
  • 2022-03-01
  • 2021-12-27
  • 2022-12-23
相关资源
相似解决方案