...

/

Preparing Your Virtual Environment: pipenv

Preparing Your Virtual Environment: pipenv

Learn how to prepare the virtual environment.

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 ...