Graph your configuration

Probably using the wrong python. From your venv, do which python.

Then in the shell_command, replace python3 with that output.