I write the code snippet from tutorial:
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
return 'Hello, World!'
and get the error:
line 1,
from flask import Flask
ModuleNotFoundError: No module named 'flask'
I have installed Flask and checked that it is there:
C:\Users\fpourki\PycharmProjects\Django_2\venv\Scripts\
pip Flask
Package Version
------------ ----------------
click 6.7
coverage 4.5.1
Flask 1.0.2
itsdangerous 0.24
jinja2 2.10
...
...
...
...
Thanks in advance
F.Pourk