Skip to content Skip to sidebar Skip to footer

The Run Button In Vs Code Don't Show Up [python]

I recently create an app using Python in VS Code. I made some modifications and now the Run button in the top left is gone. I can only run the app with the debug mode. I already tr

Solution 1:

You have two options here:

  • Install Microsoft Python extension for Visual Studio Code and Microsoft Jupyter extension for Visual Studio Code

Search for Python in Microsoft Visual Studio Code's Extension: Marketplace and hit on install.

enter image description here

Search for Jupyter in Microsoft Visual Studio Code's Extension: Marketplace and hit on install.

enter image description here

Or you can use your terminal or command prompt to install them. Open the terminal or command prompt and write these commands there.

Install Microsoft Python extension,

code--install-extension ms-python.python

Install Microsoft Jupyter extension ,

code--install-extension ms-toolsai.jupyter
  • Install Code Runner for Visual Studio Code

Search for Code Runner in Microsoft Visual Studio Code's Extension: Marketplace and hit on install.

enter image description here

Or you can use your terminal or command prompt to install it. Open the terminal and write the command.

Install Code Runner,

code--install-extension formulahendry.code-runner

You must go with the first option by Microsoft. If you go with both the options, you install Code Runner and Microsoft Python and Jupyter extensions then the Microsoft Python extension will only work if you disable Code Runner.

Code Runner is a good extension for C, C++, Java, Javascript, Perl, ... but for PythonMicrosoft Python and Jupyter extension is the best.

Solution 2:

Go to extensions then type python The first result must be python developed by Microsoft Install it/Enable it or reload it and the button will show enter image description here

Python Extension

Solution 3:

You haven't put any extension to your file. Think it should be *.py :)

Post a Comment for "The Run Button In Vs Code Don't Show Up [python]"