From: can't read / var / mail / boto.s3.connection

The first line in my python program is from boto.s3.connection import S3Connection .

When I run the program, the output is "from: can not read / var / mail / boto.s3.connection."

Any troubleshooting ideas?

I installed boto by downloading tar and running sudo python setup.py install

+4
source share
1 answer

It looks like you are trying to execute your Python program in a shell. Or add

 #!/bin/env python 

as the first line or explicitly run it in python

 python whatever.py 
+6
source

All Articles