【AWS】boto3 ライブラリのインストール手順
EC2 インスタンスやオンプレの Linux マシンに boto3 ライブラリをインストールする手順です。
pip コマンドで簡単にインストールできます。
[ec2-user@RedHat8 scripts]$ sudo pip3.6 install boto3
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3.6 install –user` instead.
Collecting boto3
Downloading https://files.pythonhosted.org/packages/ff/3e/2262936ad70fd6e7b8827d79d6508ce33e2ffb49bfca6fedc5fe4abd6f1c/boto3-1.9.215-py2.py3-none-any.whl (128kB)
100% |????????????????????????????????| 133kB 3.6MB/s
Requirement already satisfied: s3transfer<0.3.0,>=0.2.0 in /usr/local/lib/python3.6/site-packages (from boto3)
Collecting botocore<1.13.0,>=1.12.215 (from boto3)
Downloading https://files.pythonhosted.org/packages/a1/b0/7a8794d914b95ef3335a5a4ba20595b46081dbd1e29f13812eceacf091ca/botocore-1.12.215-py2.py3-none-any.whl (5.7MB)
100% |????????????????????????????????| 5.7MB 231kB/s
Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in /usr/local/lib/python3.6/site-packages (from boto3)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1; python_version >= “2.7” in /usr/lib/python3.6/site-packages (from botocore<1.13.0,>=1.12.215->boto3)
Requirement already satisfied: docutils<0.16,>=0.10 in /usr/local/lib/python3.6/site-packages (from botocore<1.13.0,>=1.12.215->boto3)
Requirement already satisfied: urllib3<1.26,>=1.20; python_version >= “3.4” in /usr/lib/python3.6/site-packages (from botocore<1.13.0,>=1.12.215->boto3)
Requirement already satisfied: six>=1.5 in /usr/lib/python3.6/site-packages (from python-dateutil<3.0.0,>=2.1; python_version >= “2.7”->botocore<1.13.0,>=1.12.215->boto3)
Installing collected packages: botocore, boto3
Found existing installation: botocore 1.12.201
Uninstalling botocore-1.12.201:
Successfully uninstalled botocore-1.12.201
Successfully installed boto3-1.9.215 botocore-1.12.215
[ec2-user@RedHat8 scripts]$
|
コメント