0

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

Community
  • 1
  • 1
Jason Donnald
  • 2,256
  • 9
  • 36
  • 49
  • Please try to install it under Virtualenv, which is standardise. Due to different OS setup, pip might install package into folder that not inside correct PYTHONPATH. – mootmoot May 20 '16 at 09:53

1 Answers1

0

I have faced the same issue and also not using virtual environment. easy_install is working for me. I am using ubuntu 16.04 and python version 2.7

easy_install boto3
sib10
  • 1,104
  • 1
  • 9
  • 15