I installed the flask_session module through the console with pip:
pip install Flask-Session --user
However i still cannot import the module and it gives me an error:
ModuleNotFoundError: No module named 'flask_session'
I'm importing it with:
from flask import Flask, render_template, request, session
from flask_session import Session
app = Flask(__name__)
SESSION_TYPE = 'filesystem'
app.config.from_object(__name__)
Session(app)
Do i need anything special for modules installed with the --user option?