Wednesday, January 22, 2014

How to install python modules manually in Ubuntu

There are times when we need to install python modules manually. Suppose, we have downloaded the python module such as InlineEgg,which can be downloaded from here.

In the above downloaded module we have got one setup.py file inside this module. The file structure of this module is shown below.
Fig. 1
Before running the python command,please make sure that you have python installed on your system.You can check this by running the following command:
python --version

If you get the following output,then it means python is installed else you have to first install the python:


Now run the following command to install the above downloaded InlineEgg module.
sudo python setup.py install


No comments:

Post a Comment