Cover by Mitch Garnaat

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Installing boto

The examples in this book require boto version 2.1 or later. There are several options available to you when it comes to installing boto.

Download and Install from github.com

The boto project uses github as its source code repository. You can clone our github repo locally and install boto from that cloned distribution. By doing so, you will always have access to the very latest changes in boto. That includes the newest features, as well as the newest bugs, so you will have to decide if this intrepid path is for you or not:

	% git clone https://github.com/boto/boto
	% cd boto
	% sudo python setup.py install

Manually Download and Install boto

The Python Cheese Shop is the official repository of Python packages. If you go to the Cheese Shop (also known as PyPI) and search for boto, you will see a page like Figure 1-1, although it should be for version 2.1, not 2.0.

boto Page on PyPI

Figure 1-1. boto Page on PyPI

Clicking on the boto-2.1.tar.gz link will download the compressed tarball containing the source package for boto. Save this file on your local machine and follow this process to install from the source package:

	% tar xfz boto-2.1.tar.gz
	% cd boto-2.1
	% sudo python setup.py install

Installing boto with easy_install

The easy_install utility makes it easy (of course!) to find, install, upgrade, and uninstall Python packages. Before you can use the nice features of easy_install, you first need ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required