How To Install Python Packages In VS Code

Manpreet Singh
2 min readJul 21, 2022

Hi everyone! Python is one of the best programming languages out there, and VS Code is one of the most popular code editors out there as well, so, let’s take a look at exactly how we can install Python packages inside of VS Code!

First off, I would recommend installing the Python extension within VS Code, below is a link to this extension:

Once this is installed, we can make our way over to our VS Code editor, you then want to make a new Python script, once we have a script setup, we can make our way to the bottom portion of the panel that shows us the Terminal at the bottom, you want to click on the Terminal button:

All you have to do now is use a pip command to install a Python package! If you don’t have pip installed (which you should if you installed Python properly), you can use the link below to fix this:

--

--

Manpreet Singh
Manpreet Singh

No responses yet