I installed boto3
using pip2.7 install boto3
. Now when I do python2.7 script.py
which has import boto3
, I get ImportError: No module named boto3
. When I again do pip2.7 install boto3
I get Requirement already satisfied (use --upgrade to upgrade): boto3 in /usr/local/lib/python2.7/site-packages
.
Why is this error coming and how can I resolve it?
NOTE: I did pip2.7 install boto3
based on this SO question