Just installed, my project is in Python and I'm getting ModuleNotFoundError

I’ve just installed Cursor but I cannot run anything on the terminal because the python modules don’t seem to be installed:

(env) ➜  new-deal git:(main) ✗ which python
/home/martin/proj/foreclosures/env/bin/python
(env) ➜  new-deal git:(main) ✗ which pip     
/home/martin/proj/foreclosures/env/bin/pip
(env) ➜  new-deal git:(main) ✗ pip install flask
Requirement already satisfied: flask in /home/martin/proj/foreclosures/env/lib/python3.11/site-packages (2.3.2)
Requirement already satisfied: Werkzeug>=2.3.3 in /home/martin/proj/foreclosures/env/lib/python3.11/site-packages (from flask) (3.0.3)
Requirement already satisfied: Jinja2>=3.1.2 in /home/martin/proj/foreclosures/env/lib/python3.11/site-packages (from flask) (3.1.4)
Requirement already satisfied: itsdangerous>=2.1.2 in /home/martin/proj/foreclosures/env/lib/python3.11/site-packages (from flask) (2.2.0)
Requirement already satisfied: click>=8.1.3 in /home/martin/proj/foreclosures/env/lib/python3.11/site-packages (from flask) (8.1.7)
Requirement already satisfied: blinker>=1.6.2 in /home/martin/proj/foreclosures/env/lib/python3.11/site-packages (from flask) (1.8.2)
Requirement already satisfied: MarkupSafe>=2.0 in /home/martin/proj/foreclosures/env/lib/python3.11/site-packages (from Jinja2>=3.1.2->flask) (2.1.5)
(env) ➜  new-deal git:(main) ✗ python main.py 
Traceback (most recent call last):
  File "/home/martin/proj/foreclosures/pipedrive/new-deal/main.py", line 2, in <module>
    from flask import Flask, request, jsonify
ModuleNotFoundError: No module named 'flask'

I found this person who seems to be experiencing the same: [Linux] Cannot use python scripts both in cursor IDE and Cursor Terminal : working command in system terminal does not work in cursor terminal, executable "sys.executable: /opt/cursor.appimage" replaces selected Python executable and blocks module imports · Issue #1484 · getcursor/cursor · GitHub

Thanks