Managing Python Dependencies Transcripts
Chapter: Isolating Dependencies With Virtual Environments
Lecture: Recap and Summary
0:01 Congratulations on completing the virtual environments module in the course.
0:04 Here is what you covered.
0:06 You learned what virtual environments are,
0:08 you learned how to create and activate them,
0:10 you learned how to install packages into a virtual environment.
0:14 And you've also learned how to deactivate
0:16 and even destroy a virtual environment.
0:18 And last, I showed you some tricks
0:21 on how you can optimize your virtual environment workflow
0:24 and make it a little bit more efficient.
0:26 In the last few lectures you learned about virtual environments
0:28 and how they can help you keep your project dependencies under control.
0:32 Virtual environments help keep your project dependencies isolated
0:37 so that you can avoid version conflicts between packages
0:40 and different versions of the Python runtime.
0:43 So in a nutshell, a virtual environment allows you to use
0:46 different versions of the same package,
0:48 and different versions of Python depending on a project that you're working on.
0:54 And as a best practice, all of your Python projects
0:57 should use virtual environments to store their dependencies.