How To Create Python Virtual Environments

 

For Linux User


Open your terminal and run the following command


Step 1:  sudo apt-get update
Step 2:  sudo apt install python3-pip
Step 3:  sudo apt install python3-venv
Step 4:  python3 -m venv venv
Step 5:  source venv/bin/activate  [
<-- To activate your newly create Virtual Environments]



For Windows User


Open your terminal and run the following command


Step 1:  pip install virtualenv
Step 2:  virtualenv venv
Step 3:  venv\Script\activate [
<-- To activate your newly create Virtual Environments]


Quiz Level 1

Quiz Level 2


Request Me





Comments

Popular posts from this blog

How To Create .ENV File in Python

Create a Large file for Test Data Processing using Python

How to solve the Liner Equation using Python