TypeError code when running python program in zsh terminal, but works great in VSC terminal
Im trying to run my program as an exe file but also in the terminal and it gives me an error code. I can run the program without any problems in Visual Studio Code terminal.
Unable to run python in vscode
I am not able to run python codes on vscode terminals . When I try to run the code , For example :-
Cannot find python terminal within vscode
I was working with python in VSCode, but the python terminal disappeared and I can’t run the codes,
it was working a few days ago.
I tried using the terminal through the json settings, installed python, vscode and extensions.
VScode Terminal
visual studio code cant find my file can’t open file ‘C:\Users\israe\.vscode\run.py’: [Errno 2] No such file or directory
I have followed the exact step by step process youtube video called How to Make Your Own AI Waifu Virtual VTUBER or Assistant by ryusui kagaku and i have everything installed and every file like he has i believe, except for vtuber studio. In the youtube video time stamp 15:44 he puts python .run.py and it works for him but it doesnt for me when i write into the terminal PS C:Usersisrae.vscode> python .run.py
C:UsersisraeAppDataLocalProgramsPythonPython312python.exe: can’t open file ‘C: this pops up and i dont know why. And at 15:44 you will see that when he puts PS D:ArdhaVoiceVoxcode> python .run.py in the terminal from powershell it converts into python for a second and in the video you see that he doesnt have python installed on left side of screen, so why is it even converting powershell into python? And I havent touched any of the code from the file run.py or any other files. i just followed his video using whisperAI.
Visual Studio Code – Run Selection/Line in Python Terminal – Output format
I recently switched from PyCharm to Visual Studio Code. In PyCharm, I’m used to see the following when I run a code selection in the terminal: