Setting Up a Virtual Environment | Website development in Python | Learn Django Step by Step

Опубликовано: 19 Март 2026
на канале: the code panda
18
1

Hey guys, welcome to The Code Panda, We are here with a new series "Introduction to Django".

In this video, we are going to discuss:
How to set up a Virtual Environment in Python.

What is a Virtual Environment?
A virtual environment is a Python environment such that the Python interpreter, libraries, and scripts installed into it are isolated from those installed in other virtual environments, and (by default) any libraries installed in a “system” Python, i.e., one which is installed as part of your operating system.

Why we need a Virtual Environment?
virtual env is used to manage Python packages for different projects. Using virtual env allows you to avoid installing Python packages globally which could break system tools or other projects.

Process of Installation of Virtual Environment?
To get started, if you’re not using Python 3, you’ll want to install the virtual env tool with pip:
type below command in Command Prompt:
"pip install virtualenv"

Create a new virtual environment inside the directory:
python -m venv env_name

Activating an environment:
"env\Scripts\activate" (In Windows)
"source env/bin/activate" (In other Systems)

Deactivate an environment:
"deactivate"

-------------------------------------------------------------------------------------------------------------------------
Chapters By timestamp:
00:00​​​ - 01:04 - Introduction of Video
01:04 - 02:02 - What is Virtual Environment
02:02 - 03:19 - Installing Virtual ENV
03:19 - 06:04 - Making a new Environment
06:04 - 06:55 - Activating Environment
06:55 - 08:20 - Installing Numpy in virtual Env
08:20 - 11:44 - Installing Django
-------------------------------------------------------------------------------------------------------------------------

BE MY FRIEND:
🌍Check my website: https://thecodepanda.in/​​​​​​
📸Add me on Instagram:   / thecodepanda.in​  
📕 Add me on Facebook:   / thecodepanda.in​  
🎴 Add me on Tumblr:   / thecodepanda  


ABOUT MY CHANNEL:
Hi! I’m The Code Panda. On my channel, you will find Programming videos. I love sharing Python, Java, C, C++ Tutorials & programs with you guys as I experience them myself.

Watch the complete series here:
   • Django Series: Website Development in Python  

Watch Complete Python Playlist :
   • Introduction To Python : What's inside thi...  

Read Python blogs from our website:
https://thecodepanda.in/blog/python.html

Subscribe here to see more of my videos in your feed!
   / @thecodepanda  

If you have any question/Query, please mention in your comment box.

#DjangoTutorialForBeginners
#DjangoInHindi
#Introduction
-------------------------------------------------------------------------------------------------------------------------
Python, Do it yourself, Software framework, Application programming interface, Representational state transfer, Object, Data, HTML, Installation, Uniform Resource Locator, User, Database, JavaScript, Computer Application, Object–relational mapping, Tutorial, Form, Form, Command, Foreign key, PostgreSQL, Project, Table, Authentication, React, PostgreSQL, PyCharm, Password, Bootstrap, CSS, Hypertext Transfer Protocol, cmd.exe, Associative array, Upload, Method, POST, Table, React, Object, Computer Application, Visual Studio Code, Form, Variable, Foreign key, Authentication, Uniform Resource Locator, Application programming interface, Command, Object-relational mapping, a Software framework
-------------------------------------------------------------------------------------------------------------------------