Skip to content
Home » Command ‘python.execInTerminal-icon’ not found in Visual Studio Code

Command ‘python.execInTerminal-icon’ not found in Visual Studio Code

To solve Command ‘python.execInTerminal-icon’ not found in Visual Studio Code error follow below methods.

ERROR LOG

Command ‘python.execInTerminal-icon’ not found in Visual Studio Code

How to Solve Command ‘python.execInTerminal-icon’ not found in Visual Studio Code using Disable and enable python extension

Here is the quick hack to solve the Command ‘python.execInTerminal-icon’ not found in Visual Studio Code using Disable and enable python extension.

  1. Simply navigate to the Extension section. If you’re using Windows, just press Cntrl+Shift+S and search for Python Plugin.
  2. Simply disable and re-enable the Python plugin.
  3. Restart Visual Studio Code.
  4. Your error should now be corrected.

Solve Command ‘python.execInTerminal-icon’ not found in Visual Studio Code by Reinstalling VS Code

  1. Uninstall the VS Code.
  2. Now Go to “C:/Users/{Whatever User}” and then delete the .vscode Folder.
  3. Go to “C:/Users/{Whatever User}/AppData/Roaming” and then delete the "Code" Folder. This file stores all the VS Code Cache.
  4. Restart you laptop and install VS Code again.
  5. Install the python extension.

Reinstall Python and Pylance Plugin in VS Code

Uninstall Python and Pylance Plugin in the VS Code and then reinstall them. Follow the below steps

  1. Simply navigate to the Extension section. Alternatively, if you are using Windows, simply press Cntrl+Shift+S and search for Python Plugin and Pylance Plugin.
  2. Simply uninstall and reinstall both plugins.
  3. Restart Visual Studio Code.
  4. Your error should now be corrected.

Hope the above solution works.

Also read :

ImportError: cannot import name ‘get_config’ from ‘tensorflow.python.eager.context’
ERROR:gpu_init.cc(426) Passthrough is not supported GL is disabled