How to download and install setuptools module for Python
Please use md5 checksum to make sure the downloaded files are not corrupt. Also, $ before commands mean you can run the command as ordinary user and # means you have to run the command as root (or use $ sudo <command>).
$ wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz $ tar xzf setuptools-0.6c11.tar.gz $ cd setuptools-0.6c11 # /opt/python/bin/python setup.py install
That should install the setuptools module in your Python installation (installed in /opt/python/). In order to check the installed module in your Python installation, I did the following:
$ ls /opt/python/lib/python2.7/site-packages/ -la | grep setuptools
And, the output was:
-rw-r--r-- 1 root root 332123 Nov 4 11:41 setuptools-0.6c11-py2.7.egg -rw-r--r-- 1 root root 30 Nov 4 11:41 setuptools.pth
Please feel free to use the comments form below if you have any questions or need more explanation on anything. Use the icons below to share this tutorial with your friends.
tags cloud
popular searches
free download for mysql database server 5.1.5, php, linux, mysql mysql, mysql, java, install mysql, gearman, ubuntu, tools, source code, bison, mysql initialization, install cairo, laptop
Similar Tutorials:
- Install MySQL Server 5.0 and 5.1 from source code
- Installing Gearman application framework on Debian Linux
- How to download and install MySQL on Mac OS X
- Download, configure, compile, and install MySQL 5.5 from source code on Linux
- How to install libevent on Debian/Ubuntu/Centos Linux
Tutorials in 'Web Development > Python' (more):
- How to install Python Gearman client module
- How to download and install MySQLdb module for Python on Linux
- How to download, compile, and install Python on Ubuntu/Debian/ CentOS Linux


Comments (write a comment):
I have python 2.6.5 and the folder /opt/python Posted by: Blenderous on May 08, 2011