Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Gordon
Total activity
6
Last activity
August 04, 2022 13:23
Member since
August 03, 2022 14:08
Following
0 users
Followed by
0 users
Votes
1
Subscriptions
1
Activity overview
Posts (0)
Comments (4)
Gordon
commented,
August 04, 2022 13:23
sure, attached please find the screenshot. You can see I am using venv3 folder as my venv, which created from scratch.
Community
PyCharm
Error: Failed to find Flask application or factory in module 'app'. Use 'FLASK_APP=app:name' to specify one.
0 votes
Gordon
commented,
August 03, 2022 20:37
When I create a new project via pycharm with Flask template, it is ok and it can run. But with my current project, always errors. although I can run with app.py, but when I run with app.py, it is ...
Community
PyCharm
Error: Failed to find Flask application or factory in module 'app'. Use 'FLASK_APP=app:name' to specify one.
0 votes
Gordon
commented,
August 03, 2022 20:31
Yes, I manually uninstall the old PyCharm version and download the latest one, then disable python.use.targets.api then recreating the interpreter with venv name venv2, pip install all requirements...
Community
PyCharm
Error: Failed to find Flask application or factory in module 'app'. Use 'FLASK_APP=app:name' to specify one.
0 votes
Gordon
commented,
August 03, 2022 14:11
Try to use the workaround, it does not work. Need to us VS code instead. And I am a paid user, need to use a free ide instead of paid pycharm.
Community
PyCharm
Error: Failed to find Flask application or factory in module 'app'. Use 'FLASK_APP=app:name' to specify one.
0 votes