I want to play with aws with python

environment

Sample execution!

$ python ./sample.py
Traceback (most recent call last):
  File "./sample.py", line 35, in <module>
    import boto
ImportError: No module named boto

Ah! Library installation!

$ pip install boto
Collecting boto
  Downloading boto-2.42.0-py2.py3-none-any.whl (1.3MB)
    100% |████████████████████████████████| 	1.4MB 975kB/s
Installing collected packages: boto
Successfully installed boto-2.42.0

Challenge again!

$ python ./sample.py
Traceback (most recent call last):
  File "./sample.py", line 36, in <module>
    import boto3
ImportError: No module named boto3

Ah! You guys can install boto3.

$ pip install boto3
Collecting boto3
  Downloading boto3-1.4.1-py2.py3-none-any.whl (121kB)
    100% |████████████████████████████████| 122kB 3.5MB/s
Collecting botocore<1.5.0,>=1.4.1 (from boto3)
  Downloading botocore-1.4.61-py2.py3-none-any.whl (2.7MB)
    100% |████████████████████████████████| 2.7MB 501kB/s
Collecting s3transfer<0.2.0,>=0.1.0 (from boto3)
  Downloading s3transfer-0.1.8-py2.py3-none-any.whl (53kB)
    100% |████████████████████████████████| 61kB 7.1MB/s
Collecting jmespath<1.0.0,>=0.7.1 (from boto3)
  Downloading jmespath-0.9.0-py2.py3-none-any.whl
Collecting python-dateutil<3.0.0,>=2.1 (from botocore<1.5.0,>=1.4.1->boto3)
  Downloading python_dateutil-2.5.3-py2.py3-none-any.whl (201kB)
    100% |████████████████████████████████| 204kB 4.5MB/s
Collecting docutils>=0.10 (from botocore<1.5.0,>=1.4.1->boto3)
  Downloading docutils-0.12.tar.gz (1.6MB)
    100% |████████████████████████████████| 1.6MB 866kB/s
Collecting futures<4.0.0,>=2.2.0; python_version == "2.6" or python_version == "2.7" (from s3transfer<0.2.0,>=0.1.0->boto3)
  Downloading futures-3.0.5-py2-none-any.whl
Collecting six>=1.5 (from python-dateutil<3.0.0,>=2.1->botocore<1.5.0,>=1.4.1->boto3)
  Downloading six-1.10.0-py2.py3-none-any.whl
Installing collected packages: six, python-dateutil, docutils, jmespath, botocore, futures, s3transfer, boto3
  Running setup.py install for docutils ... done
Successfully installed boto3-1.4.1 botocore-1.4.61 docutils-0.12 futures-3.0.5 jmespath-0.9.0 python-dateutil-2.5.3 s3transfer-0.1.8 six-1.10.0

moved!

Recommended Posts

I want to play with aws with python
I want to debug with Python
I want to AWS Lambda with Python on Mac!
I want to analyze logs with Python
I want to make a game with Python
I want to use Temporary Directory with Python2
#Unresolved I want to compile gobject-introspection with Python3
I want to solve APG4b with Python (Chapter 2)
I want to write to a file with Python
I want to inherit to the back with python dataclass
I want to work with a robot in python.
[ML Ops] I want to do multi-project with Python
I want to run a quantum computer with Python
I want to do ○○ with Pandas
Play with 2016-Python
I want to be able to analyze data with Python (Part 3)
I want to specify another version of Python with pyvenv
I want to be able to analyze data with Python (Part 1)
I want to be able to analyze data with Python (Part 4)
I want to be able to analyze data with Python (Part 2)
[Python] I want to use the -h option with argparse
I want to detect objects with OpenCV
I want to blog with Jupyter Notebook
Fractal to make and play with Python
I want to use jar from python
I wanted to solve ABC160 with Python
I want to build a Python environment
I want to pip install with PythonAnywhere
Connect to s3 with AWS Lambda Python
I wanted to solve ABC172 with Python
I want to use a wildcard that I want to shell with Python remove
I want to know the weather with LINE bot feat.Heroku + Python
I want to monitor UNIQLO + J page updates [Scraping with python]
I want to solve APG4b with Python (only 4.01 and 4.04 in Chapter 4)
I want to output the beginning of the next month with Python
I want to do a full text search with elasticsearch + python
[Python / AWS Lambda layers] I want to reuse only module in AWS Lambda Layers
[Introduction] I want to make a Mastodon Bot with Python! 【Beginners】
AWS CDK with Python
I want to do Dunnett's test in Python
I want to analyze songs with Spotify API 2
I wanted to solve NOMURA Contest 2020 with Python
I want to memoize including Python keyword arguments
I want to create a window in Python
[Python] I want to manage 7DaysToDie from Discord! 1/3
I want to mock datetime.datetime.now () even with pytest!
I want to knock 100 data sciences with Colaboratory
I wanted to play with the Bezier curve
I wanted to install Python 3.4.3 with Homebrew + pyenv
I want to be an OREMO with setParam!
I tried to get CloudWatch data with Python
I want to analyze songs with Spotify API 1
I tried to output LLVM IR with Python
I want to merge nested dicts in Python
I tried to automate sushi making with python
I want to use ceres solver from python
I don't want to use -inf with np.log
I want to use ip vrf with SONiC
I want to start over with Django's Migrate
I want to sell Mercari by scraping python
[Python] I want to manage 7DaysToDie from Discord! 2/3