Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
2

ImportError: cannot import name 'Flask' from 'flask' (unknown location)

lekdnlwkfkwflwnf0393iefwf
lekdnlwkfkwflwnf0393iefwf

This is my import statement:
from flask import Flask, render_template, redirect, url_for, request
whats wrong?????

Fixed

  • uninstalled flask by pip uninstall flask
  • then i removed flask from packages
  • uninstalled werkzeug using pip
  • installed it again using pip
2 years ago
You are viewing a single comment. View All
1
1
lekdnlwkfkwflwnf0393iefwf
lekdnlwkfkwflwnf0393iefwf

@InvisibleOne
yea i fixed it

2 years ago