Why we need Framework(Django)? & Solution for pip install ERROR

 Why is a framework important?


    Django is an open-source framework for backend web applications based on Python. When you develop web application you are going to use programming languages such as Python, Java,, and so on. However, it takes a lot of time and effort. Framework provides a structure in which developers build the programs for specific platforms. You can save a lot of time and effort by using framework like Django

I highly recommend you to learn basic Python functions and get used to them before starting Django. 
You may need to learn about HTML, CSS too so that you get better understanding of the web application. 


* Setup & Install

Launch a command (Terminal) -> pip install django 

If you're window user; may meet some errors on the screen. 

like this 'pip' is not recognized as an internal or external command, operable program or batch file.
Output showing PIP is not installed on Windows.

Let's Fix it

<1>
Type "curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py" on the command 
Download PIP software package.

<2>
Install PIP on Window

Type  "python get-pip.py"
Install PIP on Windows.

Please double check the path if you have errors 

<3>
Open the "system and security" 


Advanced system setting -> Environment Variables and double click the path -> Select "NEW" and add the path where you install PIP -> OK 


<4>

"pip install django"   again .. IT WILL WORK !




Popular posts from this blog

[Python] Dictionary

[Visual Design 2/3]

[JavaScript] For loop , Function