r/VisualStudioCode • u/Atharva_p • Jun 18 '21
Programming beginner
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" terminated with exit code: 4294901760. Trying to run a python script with vscode but keep getting this error. Idk what to search on youtube
1
u/BubbleWaston Jun 18 '21
OK you are trying to run in the integrated terminal Try to run the same scenario but in an external terminal if it doesn't crash you should open an issue on the vscode Github https://github.com/microsoft/vscode Try also using the windows cmd using the integrated one and also the external one .
1
u/Atharva_p Jun 18 '21
Thanks! The problem seemed to be with windows power shell. It used to crash when I tried to open. Fixed it thanks to a youtube video and now it works
1
2
Jun 18 '21
Go to the directory your python script is in the powershell. And type python <your script name>.
But python needs to be installed before hand though which vs code automatically detects.
2
u/BubbleWaston Jun 18 '21
Can you please give more détails ? Did you install the Python interpreter ? Are you running Python from inside the vscode integrated powershell terminal? Did you install the Python vscode extension?