skip to Main Content

Hi so i’m trying to run a code but nothing happen in the terminal I used to code but I stopped for a while now I need to code again and nothing, the easiest code in the world doesn’t even run. Recently
enter image description here. If someone have any idea please

I cleaned up my computer by deleting a lot of files and I don’t know if I missdelete something that could run in vscode

2

Answers


  1. @fluffyweird here well as a beginner at Python this sort of problems happen quite frequently than you think No worries just follow up the following steps and if you have any questions you can reach me @fluffyweird :)…MY ADVICE: DON’T LET THIS MINOR PROBLEM DISCOURAGE YOU:)

    SOLUTION: Since I can’t make a video on this try and check this video https://www.youtube.com/watch?v=AMAE0S_NzxE
    Sometimes if you didn’t add the python interpreter to your environment this happens 🙂

    to check if you have installed python3 correctly try python3 -v 🙂

    hope this helped

    Login or Signup to reply.
  2. You haven’t saved the file yet, Ctrl+S save the file.

    enter image description here

    It is also recommended that you install the Pyhton extension and then use Run Python File to execute the code.

    enter image description here

    https://code.visualstudio.com/docs/python/python-tutorial

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search