The first step on working with Python project is the dependency management. To avoid dependencies conflict on your machine, you should consider handling dependencies with some of the Python. There are several options to handle dependencies:
- Pipenv is a tool that aims to bring the best of all packaging worlds (bundler, composer, npm, cargo, yarn, etc.) to the Python world. It automatically creates and manages a virtualenv for your projects, as well as adds/removes packages from your
Pipfile
as you install/uninstall packages. It also generates the ever-importantPipfile.lock
, which is used to produce deterministic builds.