Getting Started – One Environment per Project
In this chapter, you’ll learn about the different ways of setting up Python environments for your projects and how to use multiple Python versions on a single system outside of what your package manager offers.
After the environment is set up, we will continue with the installation of packages using both the Python Package Index (PyPI) and conda-forge
, the package index that is coupled with Anaconda.
Lastly, we will look at several methods of keeping track of project dependencies.
To summarize, the following topics will be covered:
- Creating environments using
venv
,pipenv
,poetry
,pyenv
, andanaconda
- Package installation through
pip
,poetry
,pipenv
, andconda
- Managing dependencies using
requirements.txt
,poetry
, andpipenv