Skip to content
Sign UpLog In
Profile icon

lekdnlwkfkwflwnf0393iefwf

@lekdnlwkfkwflwnf0393iefwf
a idk
Repls
Community
lekdnlwkfkwflwnf0393iefwf
lekdnlwkfkwflwnf0393iefwf
shared a Post
1 year ago
ImportError: cannot import name 'Flask' from 'flask' (unknown location)
This is my import statement: whats wrong????? Fixed uninstalled flask by pip uninstall flask then i removed flask from packages uninstalled werkzeug u
Dishook
Python
Kaung-HtetHtet2
Kaung-HtetHtet2
from website import create_app app = create_app() if name == 'main': app.run(debug=True) THis is my code and how can i fix that ImportError: cannot import name 'create_app' from 'website' (unknown location) ? 1 year ago
InvisibleOne
InvisibleOne
I'm only getting an error from line twenty eight, because you are using an await outside of an async function.1 year ago
OldWizard209
OldWizard209
Change it to: `from flask import * `1 year ago