environnement
Exemple d'exécution!
$ python ./sample.py
Traceback (most recent call last):
File "./sample.py", line 35, in <module>
import boto
ImportError: No module named boto
Ah! Installation de la bibliothèque!
$ 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
Défiez à nouveau!
$ python ./sample.py
Traceback (most recent call last):
File "./sample.py", line 36, in <module>
import boto3
ImportError: No module named boto3
Ah! Vous pouvez installer 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
déplacé!
Recommended Posts