How to install Django in Windows10

...\> py --version
Check Python Version

About pip

pip is a package manager for Python and is included by default with the Python installer. It helps to install and uninstall Python packages (such as Django!). For the rest of the installation, we’ll use pip to install Python packages from the command line.

...\> py -m venv project-name
creating tweetme2 as a project name for virtual environment
...\> project-name\Scripts\activate.bat
Activate the windows batch file for virtual environment
tweetme2 before Directory E

Install Django

Django can be installed easily using pip within your virtual environment.

...\> py -m pip install Django
Django install in virtual environment
django-admin
start the project in current directory

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store