E0401:Unable to import 'flask'

前端 未结 6 1790
终归单人心
终归单人心 2021-02-07 08:53

Am new in flask development and trying to import flask in my project but Pylint is giving this error in VSCode E0401:Unable to import \'flask

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-07 09:36

    In my case, the vscode cannot run the lint becouse my flask install with venv environment, so I deactivate the vent and install flask again in the normal environment , the lint will be work~

提交回复
热议问题