Django is a Python-based web framework, so you must have Python on your computer. Depending on your computer's OS, Python may be already pre-installed; however, Python has several versions. It is better to use the latest version unless you have a specific reason to use older versions.
For Mac OS and Windows OS
You can download the latest Python from the Python's official site .
Run the python3 --version
command. As the latest version of Python is version 3, you need to type python3
.
python3 --version
Python 3.11.2
Make sure you check "Add python.exe to PATH". If you don't check this, your command line may not recognize that Python is installed.
Note: If you may use a long file path, click Disable path length limit before closing the popup.
Run the python --version
command. For Windows, you don't need to use python3
.
python --version
Python 3.11.2
For Linux OS
If you are using the CUI environment, you need to use a package manager command. For example, run the following commands for ubuntu Linux OS.
sudo apt update
sudo apt install python3
Django is a Python-based web framework, so you must have Python on your computer. Depending on your computer's OS, Python may be already pre-installed; however, Python has several versions. It is better to use the latest version unless you have a specific reason to use older versions.
For Mac OS and Windows OS
You can download the latest Python from the Python's official site .
Run the python3 --version
command. As the latest version of Python is version 3, you need to type python3
.
python3 --version
Python 3.11.2
Make sure you check "Add python.exe to PATH". If you don't check this, your command line may not recognize that Python is installed.
Note: If you may use a long file path, click Disable path length limit before closing the popup.
Run the python --version
command. For Windows, you don't need to use python3
.
python --version
Python 3.11.2
For Linux OS
If you are using the CUI environment, you need to use a package manager command. For example, run the following commands for ubuntu Linux OS.
sudo apt update
sudo apt install python3