INSTALLING LIBRARIES IN PYTHON

INSTALLING LIBRARIES IN PYTHON

·

2 min read

* NOW DOWNLOAD ANY PYTHON LIBRARY EASILY PY.jpg

  • facing issue of "PIP NOT FOUND" in downloading python librarys ? No worries there is another way to fix it.

    steps to follow

       1. Run your CMD as administrator
       2.Go to the directory contaning python program using "cd"
    
    cd <path to the python directory>

eg: cd C:\Python27

    3. Then use the basic command 

pip install <library name>

eg: pip install matplotlib

That's it ! we have installed the package what we need :)

Still need another way ?couldn't find the python's location?

                        *HAKUNA MATATA*
  • Here we have another easiest way to get it!

steps to follow

 1. Run your CMD as administrator 
 2.copy this simple command and replace the library name
    with the library name you wanted

py -m pip install <library name> eg: py -m pip install matplotlib

Congratulations now we can install the libraries that we want!

TYOU.jpg