Preparing Your Virtual Environment: pipenv
Explore how to prepare your Python virtual environment with pipenv to manage dependencies and isolate project libraries. Understand creating a Pipfile, installing packages like Flask, and why pipenv is preferred for full stack development and deployment.
We'll cover the following...
Setting up a Python environment
A Python virtual environment allows us to keep the versions of libraries used by our Python application separate from those required by other applications. If one project requires version 1.3 of some library and another requires version 2.1 of the same library, they would conflict. With virtual environments, we can simultaneously set up each project in its own environment on the same machine and eliminate the conflict.
A standard approach for managing virtual environments for Python is to ...