

But in a real project, you can give the directory a suitable name, such as forum, blog, etc.Ĭhange into your Desktop directory with the cd command:Ĭreate the directory using the mkdir command: We will name it django_project since this tutorial is a demo. In this section, you will create a directory that will contain your Django application.
Django version python install#
Now you've upgraded pip, you'll create the project directory where you'll install Django. You'll get output identical to the following screenshot showing you that the upgrade was a success: it's always a good practice to upgrade pip to the latest version.Įnter the following command to upgrade pip on your system: But most of the time, it comes with an old version. Now that you've confirmed Python is installed on your system, you will upgrade pip. As long as you see the Python version logged, Python is installed on your system. You might have a different version from mine, and that's fine. V option logs the Python version installed on your system.Īfter running the command, you should see output like this: PS C:\Users\Username> python -VĪt the time of writing, it is Python 3.9.7. To do that, type the following command in PowerShell prompt to verify the installation: Step 2 - Verifying Python Installationīefore you install Django, first, you need to make sure that you installed Python on your system. Now that you have opened PowerShell on your computer, you'll verify the installation of Python in the next section. You should now have the PowerShell window opened. Once the dialog is open, type powershell, and then click OK. You can do that by searching for PowerShell in the Windows search box or you can open the Run dialog box by holding the Windows logo key and R( WIN+R). Step 1 - Opening PowerShellįirst, you need to open PowerShell on your computer. For a smooth experience, I would suggest you use PowerShell for this tutorial. The commands that you will run in this tutorial were tested on the PowerShell shell, but most commands should work on Windows Command Prompt(CMD) with a few exceptions.
Django version python how to#
You can check out this guide - how to install python on windows to learn how to do it. Prerequisitesīefore you install Django, you must make sure that Python is installed on your system. After that, you will verify the installation, create a project, and start a Django development server.

In this tutorial, you will learn how to install Django on Windows using pip. It is free and open-source, and it works on both Windows and *nix systems. It's popular for being robust, secure, and allows developers to develop projects fast and meet their deadlines. One that has consistently been popular is the Django framework. The Python ecosystem has a lot of web frameworks.
