Home > Software engineering >  i do run a python code in visual studio code, but i did'nt see any result, however i only see a
i do run a python code in visual studio code, but i did'nt see any result, however i only see a

Time:06-02

enter image description here

print("hello") I do run a python code on visual studio code, but I end up seeing this error, and not the result

CodePudding user response:

make sure that python extension is installed in visual studio and or actrully install python from the website

CodePudding user response:

Try using the exit command in the VS Code terminal and then running your script. If that doesn't work try restarting VS Code and then try (make sure it's not running by checking the Task Manager). If that doesn't work, login to your GitHub/Microsoft account in VS Code and sync your settings and extensions, then uninstall VS Code and install the latest version. That should fix it.

  • Related