Python Package Installation
This is a short note how to install package from PyPi
Support Python 2.7
Install Setuptool
Download setuptools
If you run Windows 64bit, download and run python ez_setup.py
. It will automatically install easytool.exe in Scripts folder
Install download package, run this command
python setup.py install
Install package by easy_install
Install package by name
easy_install SQLObject
Download a source, automatically build and install it
easy_install http://example.com/path/to/MyPackage-1.2.3.tgz
Install an already-downloaded .egg file
easy_install /my_downloads/OtherPackage-3.2.1-py2.3.egg
Upgrade installed package to latest version
easy_install --upgrade PyProtocols
Upgrade packages
Upgrade a specific version
easy_install "SomePackage==2.0"
Upgrade package that a version greater than
easy_install "SomePackage>2.0"
Upgrade to latest version on PyPi
easy_install --upgrade SomePackage
Uninstall packages
easy_install -mxN PackageName
17 May 2013