About Lesson
1.6.1 System Requirements
To install and run Django, you need:
- Python (3.8 or later)
- A code editor or IDE (e.g., VS Code, PyCharm)
- A terminal or command prompt
- Internet access to install packages
1.6.2 Setting Up a Virtual Environment
A virtual environment ensures dependencies are isolated for each project:
- Install
venv
(if not already installed):
python -m ensurepip --upgrade
- 2. Create a virtual environment:
python -m venv myenv
- 3. Activate the environment:
myenv\Scripts\activate
Join the conversation