If Python is installed, the python command will open the Python interactive interpreter: C:\Users\Nigel>python
If Python isn’t installed you’ll get a message saying that Windows can’t find Python. You can check this out by opening a command prompt, or running PowerShell, and typing python at the prompt. Installing PythonĪ lot of Windows applications use Python, so it may be already installed on your system. This is by far the easiest and best way to set up Django when you are first starting. This chapter also assumes you’re installing Django on a desktop or laptop computer and will use the development server and SQLite to run all the code in this book. If you are using Linux, there are many resources on the Internet-the best place to start is Django’s own installation instructions.įor Windows users, your computer can be running any recent version of Windows (7, 8.1 or 10). I have also included a section on installing Python 3 and Django on macOS. I’ve written this chapter mostly for those of you running Windows, as most new users are on Windows. Fortunately, this is a simple three-step process: Before you can start learning Django, you must install some software on your computer.