Home > database >  VS Code won't open terminal when trying to launch Python code
VS Code won't open terminal when trying to launch Python code

Time:12-29

It just seems like I can't open a terminal in VS Code. Every time I try to open a terminal, it gives me this error:

the error i encounter

I would be grateful if anyone could help me with this.

I tried reinstalling VS Code but it didn't work. I also tried disabling all extensions except python extension but it didn't work too.

CodePudding user response:

Try this:

  1. Ctrl Shift P
  2. Select "Preferences: Open User Settings"
  3. Write "terminal" in the search box
  4. Search for "Terminal > Integrated > Default Profile: Windows"
  5. Set value to "Command Prompt"

Helpful Image

CodePudding user response:

Ctrl Shift P Select "Preferences: Open User Settings" Write "terminal" in the search box Search for "Terminal > Integrated > Default Profile: Windows" Set value to "Command Prompt" or to "Powershell"

  • Related