How to Install Boto3 in Windows on CloudFerro Cloud

boto3 library for Python serves for listing and downloading items from specified bucket or repository. In this article, you will install it in a Windows system.

Step 1 Ensure That Python3 is Preinstalled

On a Desktop Windows System

To run boto3, you need to have Python preinstalled. If you are running Windows on a desktop computer, the first step of this article shows how to do it: How to install OpenStackClient GitBash for Windows on CloudFerro Cloud.

On a Virtual Machine Running in CloudFerro Cloud Cloud

Virtual machines created in the CloudFerro Cloud cloud will have Python3 already preinstalled. If you want to spawn your own Windows VM, two steps will be involved:

  1. Log into your CloudFerro Cloud hosting account with access to the Horizon interface: https://horizon.cloudferro.com.

  1. Use or create a new instance in the cloud. See article: Connecting to a Windows VM via RDP through a Linux bastion host port forwarding on CloudFerro Cloud.

Step 2 Install boto3 on Windows

In order to install boto3 on Windows:

  • Log in as administrator.

  • Click on the Windows icon in the bottom left of your Desktop.

  • Find Command prompt by entering cmd abbreviation.

../_images/boto1.png

Verify that you have up-to-date Python installed by entering “python -V”.

../_images/boto2.png

Then install boto3 with the following command:

pip install boto3
../_images/boto3.png

Verify your installation, with command:

pip show boto3
../_images/boto4.png