'command 'python.execSelectionInTerminal' not found

I am a beginner just shifted from jupyter to vs-code, whenever I try to run my code, I get:

"command 'python.execSelectionInTerminal' not found"

I have tried:

  1. Uninstalling-reinstalling Python extension
  2. downgrading the version
  3. uninstalling and reinstalling vs code and Python
  4. Restarting the system

Please Help



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source