You can use pip to install the latest released version of boto :. If you want to install boto from source:. For most services, this is enough to get going. However, to support everything Boto ships with, you should additionally run pip install -r requirements. This installs all additional, non-stdlib modules, enabling use of things like boto. Another common way to install boto is to use a virtualenv , which provides isolated environments. First, install the virtualenv Python package:.
Next, create a virtual environment by using the virtualenv command and specifying where you want the virtualenv to be created you can specify any directory you like, though this example allows for compatibility with virtualenvwrapper :. Now, any usage of python or pip within the current shell will default to the new, isolated version within your virtualenv. You can now install boto into this virtual environment:.
When you are done using boto , you can deactivate your virtual environment:. If you are creating a lot of virtual environments, virtualenvwrapper is an excellent tool that lets you easily manage your virtual environments. Nov 30, Nov 29, Nov 26, Nov 24, Nov 23, Nov 22, Nov 19, Nov 18, Nov 17, Nov 16, Nov 15, Nov 12, Nov 11, Nov 10, Nov 9, Nov 8, Nov 5, Nov 4, Nov 3, Nov 2, Nov 1, Oct 29, Oct 28, Oct 27, Oct 26, Oct 25, Oct 22, Oct 21, Oct 20, Oct 19, Oct 18, Oct 15, Oct 14, Oct 13, Oct 12, Oct 11, Oct 8, Oct 7, Oct 6, Oct 5, Oct 4, Oct 1, Sep 30, Sep 29, Sep 28, Sep 27, Sep 24, Sep 23, Sep 22, Sep 21, Sep 17, Sep 16, Sep 14, Sep 13, Sep 10, Sep 9, Sep 8, Sep 7, Sep 3, Sep 2, Sep 1, Aug 31, Aug 30, Aug 27, Aug 26, Aug 25, Aug 24, Aug 23, Aug 20, Aug 19, Aug 18, Aug 17, Aug 16, Aug 13, Aug 12, Aug 11, Aug 10, Aug 9, Aug 6, Aug 5, Aug 4, Aug 3, Aug 2, Jul 30, Jul 29, Jul 28, Jul 27, Jul 26, Jul 23, Jul 22, Jul 21, Jul 20, Jul 19, Jul 16, Jul 15, Jul 14, Jul 13, Jul 12, Jul 9, Jul 8, Jul 7, Jul 6, Jul 2, Jul 1, Jun 30, Jun 28, Jun 25, Jun 24, Jun 23, Jun 21, Jun 17, Jun 16, Jun 15, Jun 14, Jun 11, Jun 10, Jun 9, Jun 8, Jun 7, Jun 4, Jun 3, Jun 2, Jun 1, May 28, May 27, May 26, May 25, May 24, May 21, May 20, How do I install boto?
Ask Question. Asked 11 years, 10 months ago. Active 4 years, 2 months ago. Viewed k times. So that I am able to work with it within my python scripts? Worbis Worbis 1 1 gold badge 4 4 silver badges 3 3 bronze badges. What was wrong with code. This seems perfectly clear. What didn't you like? What confused you?
Add a comment. Active Oldest Votes. If necessary, install pip: sudo apt-get install python-pip Then install boto: pip install -U boto. Brett 8, 5 5 gold badges 36 36 silver badges 51 51 bronze badges. What does -U stands for? TroodoN-Mike the -U is short for --upgrade which tells pip to "Upgrade all specified packages to the newest available version".
0コメント