I'm trying to use s3 to store the users' upload files, I use django storages
pip install django-storages
Added it to my INSTALLED_APPS
INSTALLED_APPS = (
...
'storages',
)
set variables in settings.py
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage'
AWS_ACCESS_KEY_ID = '#################'
AWS_SECRET_ACCESS_KEY = '#######################'
AWS_STORAGE_BUCKET_NAME = 'mybucketname'
I have installed boto
sudo pip install boto
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
Requirement already satisfied (use --upgrade to upgrade): boto in /Library/Python/2.7/site-packages/boto-2.9.0_dev-py2.7.egg
Cleaning up...
When I save the item, the debug page of django jumps out,
Could not load Boto's S3 bindings.
Any ideas? (I use mac os x 10.8.3)