0

when I run python file in terminal I get this:

The terminal process:

C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" terminated with exit code: 4294901760.

Does anybody know why this is happening? If so could you please tell me how to fix it, I'm completely new to coding, and I've just been watching some tutorials on YouTube..

Justin C.
  • 9
  • 1
  • 2
    how are you rnning the p ython file? – rv.kvetch Oct 26 '21 at 03:34
  • 1
    if you are new I recommend an IDE (something that helps you write, troubleshoot, and run your code. Intelij has a great one here(https://www.jetbrains.com/pycharm/download/#section=windows) community edition is free, or if you don't want to download anything and want to do it online go to www.replit.com and make an account. you get access to over 50 common languages and it's really easy to start playing around. You won't have to deal with windows abysmal integration of python3 – Jacob Glik Oct 26 '21 at 03:37
  • This looks like a windows PowerShell issue (discussed here: https://github.com/microsoft/vscode/issues/114830) looks like they couldn't figure out what was wrong either :( – Jacob Glik Oct 26 '21 at 03:39
  • Sounds like three other people had this issue, only one managed to fix by downloading Powershell 7 and then reloading VS Code. They said: "picked up on that installation for me." – Jacob Glik Oct 26 '21 at 03:41
  • Thank you so much! – Justin C. Oct 26 '21 at 04:47
  • You could try changing the default terminal to command prompt: https://stackoverflow.com/questions/44425545/how-to-select-a-different-type-of-command-shell-in-the-visual-studio-code-integr – Tzane Oct 26 '21 at 06:12

0 Answers0