简体   繁体   中英

How can i install boto library on windows for python?

I'm using windows 7 system, and python programming. How can i install boto library on windows7 ?

Downlload the boto package to your computer from say: http://boto.googlecode.com/files/boto-2.6.0.tar.gz

Unzip it. Traverse to the unzipped folder using CMD prompt.

and run the following command:

setup.py install

Verify the installation by trying to import boto in python.

If you have pip installed you can run:

pip install -U boto

EDIT: if setup.py install is not recognized try python setup.py install

The answer is given in the boto repository on github

$ git clone git://github.com/boto/boto.git
$ cd boto
$ python setup.py install

Actually the answer of this question is very straight forward if you could search for a while. But I assume you really new to python. I will suggest to use some python package manager. One example is pip http://www.pip-installer.org/en/latest/ . After finished the installation just run this inside command line

pip install boto

To check installation result open python console and run

import boto

If no error messages then you have successfully install boto

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM