Error when trying to execute code in interpreter mode

Shell not supported. Command detection must be available, for now

Any ideas?

1 Like

Same issue on Ubuntu

P.S. The steps Ctrl-Shift-P → Interpreter Change Kernel → Python, install pip on your system → Install suggested things by interpreter → Reload Cursor worked for me

Update: the above only fixed Python execution for me. Shell commands still not working on Ubuntu

It seems this has resolved it for me:

I couldn’t figure it out, can you explain the steps please?

I did this on Ubuntu:

bash

Add the following to your ~/.bashrc file.

[[ "$TERM_PROGRAM" == "vscode" ]] && . "$(code --locate-shell-integration-path bash)"