Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set your subtitle preferences in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please refer to our video player troubleshooting guide for assistance.

Installing Packages Into a Virtual Environment

aravind on Sept. 17, 2019

it would help to show where exactly (which folder) does requests get installed into, in both venv and global.

Tasos T on Feb. 8, 2020

Dan, how to add venv in .gitignore ?

Ricky White RP Team on Feb. 8, 2020

You can add you environment to your .gitignore file by just specifying the name. So if you called it venv you would put venv/ into your .gitignore file.

mutley75 on March 29, 2020

Why don’t you need to use “pip3” to install packages inside the virtual environment? The examples given change to “pip”

Dan Bader RP Team on July 11, 2020

Once you’ve activated the virtual environment pip will refer to the correct version of the pip package manager automatically, so you no longer need to use the pip3 command at that point.

Become a Member to join the conversation.