Install packages with the Python Package Index [PIP]

PyPI - the Python Package Index is the largest Python package repository meant for the Python programming community. It consists of dozens of packages from programmers around the world which minimize the coding tasks. Flask and Django were some of the top Python frameworks in the PyPI.
The easiest way to install a Python Package from the repository is pip command, a small Python program. You can install the pip by download and compile the get-pip.py files.

Compiling get-pip

Go to your command prompt and locate the get-pip.py file and compile with Python interpreter
C:/>Python get-pip.py  and will install the Python Package Index command on your computer.

Installing packages

Let's install Django framework.
C:/> pip install Django
will install the Django web framework on your system, make sure your internet/Wi-Fi connection turned on.

Uninstalling packages

You can also use the Python Package Index (pip) to uninstall a package as follows

C:/> pip uninstall <package name>

Comments

Popular posts from this blog

OLEDB Database connection string in C#.Net

How to get Computer Name using VB6 Code

SqlAlchemy[SQLite] database connection in Python-Flask