pip
for installation of packages in Python 3Step 1: Install Python 3. Yes, by default an application file pip3.exe
is already located there in the path (E.g.
):
C:/Users/name/AppData/Local/Programs/Python/Python36-32/Scripts
Step 2: Go to
>Control Panel (Local Machine) > System > Advanced system settings >
>Click on `Environment Variables` >
Set a New User Variable, for this click `New` >
Write new 'Variable name' as "PYTHON_SCRIPTS" >
Copy that path of `pip3.exe` and paste within variable value > `OK` >
>Below again find out and click on `Path` under 'system variables' >
Edit this path >
Within 'Variable value' append and paste the same path of `pip3.exe` after putting a ';' >
Click `OK`/`Apply` and come out.
Step 3: Now, open cmd
bash/shell by Pressing key Windows+R
.
> Write 'pip3' and press 'Enter'. If pip3 is recognized you can go ahead.
Step 4: In this same cmd
> Write path of the `pip3.exe` followed by `/pip install 'package name'`
As Example just write:
C:/Users/name/AppData/Local/Programs/Python/Python36-32/Scripts/pip install matplotlib
Press Enter
now. The Package matplotlib
will start getting downloaded.
Further, for upgrading any package
Open cmd
bash/shell again, then
type that path of
pip3.exe
followed by/pip install --upgrade 'package name'
PressEnter
.
As Example just write:
C:/Users/name/AppData/Local/Programs/Python/Python36-32/Scripts/pip install --upgrade matplotlib
Upgrading of the package will start
:)