How to setup Python virtual environment (Ubuntu 18.04)

python virtual env ubuntu
How to setup Python virtual environment (Ubuntu 18.04)

Introduction

The aim of this lab is to introduce you to the concept of the virtual environment and walk you through the steps to set up a virtual environment in Python 3.

Why virtual environment?

While developing applications in Python, different applications might require different versions of the same module. To avoid the hustle of managing these application requirements or dependencies, we use a virtual environment.

In this lab, we will use the venv module for setting up a virtual environment.

Discussion

1

0