Hi, we are here to discuss How to install Python with pip and Django on Windows very easy because If you just think to learn Python and tried with Django you should need pip installed on your machine. In simple word, pip is a package management system used to install and manage software packages written in Python.
How to install Python with pip and Django on Windows:
This tutorial based on Windows Machine so proceed accordingly.
Installing Perfect Python for Beginners: Go to Python official site https://www.python.org/downloads/windows/ and download executable installer as below image:
Once installation got completed open Python from Explorer, you can search for the name as below image.
Now you enter:
python
and
Some test code as below to check:
print ("Hello")
If you can get the same result as below image means you installed Python successfully.
Installing PIP in Python (Windows):
Go to https://pip.pypa.io/en/stable/installing/ and inside the option Installing with get-pip.py download the file name 'get-pip.py' (You can also save file as a link when you right click).
Now Open recently downloaded file 'get-pip.py' with Python and your PIP installation will auto start.
To check you PIP installation, just open Command Terminal and type:
pip
After successful installation of Python and PIP I'm going to share last part of the tutorial:
Installing Django on Windows with PIP :
If everything working well then Django installation in not going to tough anymore, open your Terminal and run below command:
pip install Django
(I already installed Django that's why I got the result as already satisfied, if it's your first time then definitely you will get some exciting 😉
Django Dummy Project Installation: You have done a great job, I hope it made you tired but you have to test work for your Django within a min.
Select any folder location ( Press Shit and Right Click you will get an option to Open Command Window here at current position). Enter the following command:
django-admin startprojeect myProjectABC
Above 'myProjectABC' is a name of your project. Once you run above command inside a folder your dummy Django project will be created as below image.
Let me know your feedback about the above tutorial.
2 comments: On How to install Python with pip and Django on Windows very easy
Exactly what i am looking for.
-Thanks
Welcome 🙂