开发者

Problem importing modul2s from boto

I have installed boto like so: python setup.py install; and then wh开发者_StackOverflowen I launch my python script (that imports moduls from boto) on shell, an error like this shows up: ImportError: No module named boto.s3.connection

How to settle the matter?


I fixed same problem at Ubuntu using apt-get install python-boto


This can happen if the Python script does not use your default python executable. Check the shebang on the first line of the script (on *nix) or the .py file association (on Windows) and run that against setup.py instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜