Skip to content Skip to sidebar Skip to footer

Python27 Errno 0 And 2 In A Simple For-loop Printing

I just used python27 to print the variable in a simple for loop. It can print out a part of the results but it stopped suddenly and appeared the errno 0 and 2 which are described a

Solution 1:

This may not be the asker's scenario, but I was receiving this error anytime I ran the reproduction script in Hyper 1.4.8 (with powershell.exe as my shell).

Using Command Prompt or PowerShell outside of Hyper avoided the error.

Solution 2:

see https://github.com/Microsoft/vscode/issues/40966 or https://github.com/Microsoft/vscode/issues/36630.

This error happens when using vscode's integrated terminal in my case. Running in Command Prompt or PowerShell have no error.

According to Tyriar from the second issue, this is a problem with Windows, not vscode, to be fiexed.

Post a Comment for "Python27 Errno 0 And 2 In A Simple For-loop Printing"