我使用boto3安装了pip2.7 install boto3。现在,当我做python2.7 script.py,它有import boto3,我得到了ImportError: No module named boto3。当我再次做pip2.7 install boto3时,我得到了Requirement already satisfied (use --upgrade to upgrade): boto3 in /usr/local/lib/python2.7/site-packages。
为什么会出现这个错误,我如何解决它?
注意:I基于this SO question做了pip2.7 install boto3
发布于 2017-05-12 10:48:26
我也面临过同样的问题,也没有使用虚拟环境。easy_install在为我工作。我使用的是ubuntu16.04和python版本2.7
easy_install boto3https://stackoverflow.com/questions/37326197
复制相似问题