I recently added s3 to my project
I recently added s3 to my project, and it works great on my local server, but when I try to push I get this error ModuleNotFoundError: No module named 'storages', and my project crashes.
21 Replies
Project ID:
7af32cf3-ad22-4da2-9a25-d6dd64394033
You might find these helpful:
- Django deployment no module named 'core' error on post
- Django app continually crashes on deployment
- Trying to migrate from Heroku - Images in S3 bucket not showing, add new image crashes app
⚠️ experimental feature
7af32cf3-ad22-4da2-9a25-d6dd64394033
ok, I'm really new to all of this. where can i find those files? and where do i upload them?
nodejs right?
edit: me dumb oops
im not sure im using that i have a django project
lmao i was certian node calls it module, im sorry for the confusion
please send your reqierments.txt file in this thread
here you are
what package do you use to connect to the s3 bucket
boto3 dose that sound right? sorry im teaching myself as i go.
try addding "django-storages" to your req.txt file
full word too hard to type, you know what file i mean
ok and try pushing again?
yep
it failed 😩
#11 ERROR: executor failed running [/bin/bash -ol pipefail -c python -m venv /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt]: exit code: 1
please show a full screenshot of that error and send that file again
Actually, i got it to deploy, but it crashed because it couldn't find boto3, so I added that to the req.txt file and pushed it again
awsome, glad you got it working
also just curious, are you using aws s3 for s3?
yes
cool, happy coding!
thank you. im sure ill have more questions soon1