How to download and install setuptools module for Python
2012-02-21 21:21
519 查看
How to download and install setuptools module for Python | Geeks Worldwide
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.
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.
相关文章推荐
- HOWTO install and setup Android NDK for Windows(Android NDK 开发环境安装和配置)
- HOWTO install and setup Android NDK for Windows(Android NDK 开发环境安装和配置)
- How to install Homebrew, OpenCV and Python for OS X El Capitan (10.11)
- HOWTO install and setup Android NDK for Linux(Android NDK安装遇到的问题和解决方法)
- How to Install Eclipse ADT, Android SDK, and setup AVD Emulator
- How To Install and Configure PHD Virtual Backup For Citrix XenServer
- How to install VS 2005 and MSDN for VS 2005 on XP without SP2
- How to setup a Mac with Python dev tools
- How to install pip3 for python 3.x
- windows下python如何安装模块或包? How to install package or module in windows OS when using PYTHON?
- LM_Sensors on Cent OS 5.4 How To Get And Install The Coretemp Module
- Q: How to generate exe install and uninstall file for an eclipse product?
- How to install python, wxPython and ride on CENTOS
- How to get download games hack cheat tools to get coins ,Diamonds and money in games
- How to Install Python 3.3 on Ubuntu 13.04, 12.10 and 12.04
- How do I download and install Java for my Linux computer?
- How to Install Nvidia Kernel Module Cuda and Pyrit in Kali Linux
- How to setup linked servers for SQL Server and Oracle 64 bit client
- How to solve install error ".NET Framework 2.0 is not detected." when installing VS tools SDK for GP 10.0
- How to install Python module?