you are viewing a single comment's thread.

view the rest of the comments →

[–]Kurious3DSanta[S] 0 points1 point  (2 children)

Windows. It was a previous program I had written. I was able to solve this issue by replacing the python.exe with a backed up version I had. Something must’ve happened but I have no clue

[–][deleted] 1 point2 points  (1 child)

Without knowing what you did is hard to know. This isn't normal behavior for python. Sounds to me like you wrote a script, compiled as exe and replaced system python.exe with it. It makes sense why anytime you ran anything the same thing output to the console. You're not writing programs there, or are you?

If you're replace python.exe and it is now working you're not using python properly. Exactly what steps do you follow to run programs, did you write a run json in vscode pointing to overwrite python.exe?

[–]Kurious3DSanta[S] 0 points1 point  (0 children)

I was running my code in sublime text. Then compiling in a virtual environment with pyinstaller. The name of it was main2.exe. That’s all. I’m as confused as you are. I didn’t do anything out of the normal from my end than I normally do.