52 lines
2.4 KiB
Markdown
52 lines
2.4 KiB
Markdown
How to Install Boto3 in Windows on 3Engines Cloud[🔗](#how-to-install-boto3-in-windows-on-brand-name "Permalink to this headline")
|
|
===================================================================================================================================
|
|
|
|
**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[🔗](#step-1-ensure-that-python3-is-preinstalled "Permalink to this headline")
|
|
-----------------------------------------------------------------------------------------------------------------------
|
|
|
|
**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 3Engines Cloud](../openstackcli/How-to-install-OpenStackClient-GitBash-or-Cygwin-for-Windows-on-3Engines-Cloud.html.md).
|
|
|
|
**On a Virtual Machine Running in 3Engines Cloud Cloud**
|
|
|
|
Virtual machines created in the 3Engines 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 3Engines Cloud hosting account with access to the Horizon interface: <https://horizon.3Engines.com>.
|
|
|
|
2. 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 3Engines Cloud](../windows/Connecting-to-a-Windows-VM-via-RDP-through-a-Linux-bastion-host-port-forwarding-on-3Engines-Cloud.html.md).
|
|
|
|
Step 2 Install boto3 on Windows[🔗](#step-2-install-boto3-on-windows "Permalink to this headline")
|
|
-------------------------------------------------------------------------------------------------
|
|
|
|
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.
|
|
|
|

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

|
|
|
|
Then install boto3 with the following command:
|
|
|
|
```
|
|
pip install boto3
|
|
|
|
```
|
|
|
|

|
|
|
|
Verify your installation, with command:
|
|
|
|
```
|
|
pip show boto3
|
|
|
|
```
|
|
|
|
 |