How to run python offline on pc? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to run python offline on pc?

I use VScode. So, I have installed python on VScode. But still VScode showing me a notification that "python is not installed. please install python to use this extention." How to solve this.

16th May 2020, 6:37 AM
RH Tasin
RH Tasin - avatar
2 Answers
+ 3
VS is merely an editor. To run Python code we also need an interpreter for it. Download and install it from the Python page. Then you need to tell VS where your Python installation is and the computer. Now you can run Python from VS.
16th May 2020, 6:42 AM
Lisa
Lisa - avatar
+ 2
Maybe you installed python extension for vs code instead of python, first go to browser and download python, then add environment variable. Search on how to add environment variable and learn it. It's very important.
16th May 2020, 6:44 AM
Manish
Manish - avatar