Managing Python Packages and Virtual Environments

by Reindert-Jan Ekker

Learn how to manage the requirements of your Python projects using virtual environments and pip, the Python package installer. You will also take a look at several related tools: virtualenvwrapper, pipenv, and poetry.

What you'll learn

Most real-world Python projects make use of code written by others, and usually this code is included by installing Python packages. In this course, Managing Python Packages and Virtual Environments, you will learn everything you need to install and manage the packages your project requires using pip, the Python package installer. When you start working on more than a single project, you will find that there's a need to install packages for one project separately from another project. You will come to understand that there's a tool for this situation as well: virtualenv, and no professional Python developer can go without it. First, you will explore everything you need to know in order to use virtual environments on a daily basis. After covering these two core tools, you will then discover other tools that you should at least be aware of such as virtualenvwrapper, which makes managing virtual environments a lot less painful. Finally, you will discover two newer tools: pipenv and poetry, and the direction the Python community is headed. By the end of this course, you will learn how to manage the requirements of your Python projects using virtual environments and pip,

About the author

After years of working in software development, Reindert-Jan Ekker switched to teaching programmers in 2010 and never looked back. He authors Pluralsight courses and teaches classes about Python, data science, devops (among others). Even though he squeezes some development jobs in here and there, teaching is his real passion and he is looking forward to share this passion with you.

Ready to upskill? Get started