Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error "Could not load Boto's S3 bindings."

I have followed the very terse guide provided for django-storages, transitioned from local file storage, and have come up against this exception:

Could not load Boto's S3 bindings.

settings.py

DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage'
AWS_ACCESS_KEY_ID = "xxxxxx"
AWS_SECRET_ACCESS_KEY = "xxxxxxxxx"
AWS_STORAGE_BUCKET_NAME = "images"

models.py

class CameraImage(models.Model):
...
image = models.ImageField(upload_to='images')#get_image_path)

What does that exception mean? How do I fix it?

like image 423
michael Avatar asked May 13 '12 20:05

michael


1 Answers

From looking at the source code, it appears you need to have the python-boto library installed. This is also mentioned in the documentation you link to.

like image 117
Brian Neal Avatar answered Oct 07 '22 00:10

Brian Neal