Want to build websites with Django? In this step-by-step tutorial, I’ll show you how to install Django the right way and set up your virtual environment using venv and virtualenv — whether you're a beginner or looking to refresh your setup in 2025.
🐍 We’ll cover:
Installing Python & pip
Setting up virtualenv & venv
Installing Django inside the virtual environment
Creating your first Django project
1 pip install virtualenv
2 virtualenv env
3 source env/bin/activate (Mac/Linux)
4 .\env\Scripts\activate (Windows)
5 pip install django
6 django-admin startproject myproject
install django 2025
how to install django on windows
django virtual environment setup
venv vs virtualenv django
django tutorial for beginners
django setup step by step
django project setup
python virtual environment setup
pip install django
start django project
django full course setup
django beginners guide