When using Flask, a framework that makes it easy to create web applications with Python, I got an error that the library could not be read when the file name was "flask.py", so it was a rare error, so make a note.
flask.py
from flask import Flask
`ʻImportError: cannot import name'Flask'`` and Flask cannot be read. Renaming the file will fix it.
Recommended Posts