Getting started with Django

https://docs.djangoproject.com/en/5.2/intro/install django-admin startproject myproject cd myproject python manage.py runserver python manage.py startapp testapp Add this to views.py file:

Ubuntu WSL Troubleshooting Installing Python Versions

Python Install Version: 1. Update APT and install dependencies sudo apt updatesudo apt install software-properties-common -y 2. Add the deadsnakes PPA The deadsnakes repository contains newer Python versions: sudo add-apt-repository ppa:deadsnakes/ppasudo apt update 3. Install Python 3.11 sudo apt install python3.11 You can also install Python 3.10 similarly: sudo apt install python3.10 For Virtual env:sudo ... Read More

Conda Environment

conda create -n env python=version conda activate env conda deactivate Useful tools: Starting jupyter notebook (env) file_path > jupyter notebook
error: