An Introduction to Python Virtual Environment

Dimensionless
Python in Plain English
1 min readApr 25, 2020

--

Python is comparatively easy to master but given its importance, it has various usages that demand certain specific areas to be mastered more efficiently compared to others.

A python virtual environment is a tool that ensures the separation of resources, and dependencies of a project by creating separate virtual environments for them. As the virtual environments are just directories running a few scripts, it ensures the creation of an unlimited number of virtual environments.

Why Do We Need Virtual Environments?

Python has a rich list of modules, and packages used for different applications. However, often those packages would not come in the form of a standard library. Thus to ensure the fixation of a common bus, an application might need a version of a library specific to it.

Features of virtualenvwrapper are

  • Organization — Virtualenvwrapper ensures all the virtual environments are organized in one particular location
  • Flexibility — It eases the process of creating, deleting, and copying environments by proving the respective methods for each.
  • Simplicity — There is a single command which allows switching between the environments.

Follow the link, if you are looking to learn more about Python Virtual environment.

--

--