Can get the Interpreter mode to work on Mac OS Sonoma

So I’m trying to test the interpreter mode in Cursor.sh but I can’t get it to work properly on Mac Os Sonoma.

Python 3.11 is installed along with pip3 command. Jupyter Notebook instaled via pip3 install notebook. Jupyter itself is installed via pip3 install jupyter but when I try to run anything in the interpreter mode I always get the same error of “name ide is not defined”. Jupyter notebook is runing on port 8080 on my local machine.

I’m attaching a screenshot for a broader context

Do you know what I might be missing?