Install packages with the Python package Index


PyPI – the Python Package Index is the largest Python package repository meant for the Python programming community. It consist of dozens of packages from programmers around the world which minimizes the coding tasks. Flask and Django were some of the top Python frame work in the PyPI.

The easiest way to install a Python Package from repository is pip command, a samll 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

Lets install Django framework .
C:/> pip install django
will install the Django web frame work 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

1 thought on “Install packages with the Python package Index

  1. Pingback: RSS / ATOM Feed Parsing in Python | DeveloperM – A developer's Manual

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.