I recently started a new task which involves connecting to S3 using Python. It looked a little tough in the beginning but it was pretty straightforward in the end. First of all, I needed to install a library. Most of the tutorials showed steps to do that but on Linux. Anyways, I found a way and it is quite straight forward, just that a beginner gets intimidated by a lot of things. Let's roll then.
Step 1: First you need to download the Boto library on to your system. A quick google search gave me a github link, https://github.com/boto/boto. Go to this link and "Download the zip".
Step 2: Extract the contents of the zip and put it in some folder. For me, I put it in the location C:\Python27\boto-develop
Step 3: Open Windows cmd and move to the location used in step2.
>cd C:\Python27\boto-develop
Step 4: Now you need to install it. To do that run the following command,
python setup.py install
You should see a lot of files being extracted, and the control returning to the cmd prompt. Your installation is done!
Just to confirm that the installation is done, move to the lib/site-packages folder of your python installation. You should see an EGG-INFO file for boto.
See, that wasn't tough, right?
Step 1: First you need to download the Boto library on to your system. A quick google search gave me a github link, https://github.com/boto/boto. Go to this link and "Download the zip".
Step 2: Extract the contents of the zip and put it in some folder. For me, I put it in the location C:\Python27\boto-develop
Step 3: Open Windows cmd and move to the location used in step2.
>cd C:\Python27\boto-develop
Step 4: Now you need to install it. To do that run the following command,
python setup.py install
You should see a lot of files being extracted, and the control returning to the cmd prompt. Your installation is done!
Just to confirm that the installation is done, move to the lib/site-packages folder of your python installation. You should see an EGG-INFO file for boto.
See, that wasn't tough, right?
No comments:
Post a Comment