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.
精彩评论