I'm new on python, and use 3.10.2 version. I wrote this in vs code;
from flask import Flask
app=Flask(__name__)
if __name__ == "__main__":
app.run(debug=True)
but the result is;
Traceback (most recent call last):
File "blog.py", line 1, in <module>
from flask import Flask
ImportError: No module named flask
I tried everything that written on this site but the result is the same. I am using mac and waiting for your help. Thanks.