#I recently added s3 to my project

24 messages · Page 1 of 1 (latest)

clear spindle
#

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.

hidden rapidsBOT
#

Project ID: 7af32cf3-ad22-4da2-9a25-d6dd64394033

clear spindle
#

7af32cf3-ad22-4da2-9a25-d6dd64394033

dawn wigeon
#

please upload your package.json and package-lock.json files

clear spindle
#

ok, I'm really new to all of this. where can i find those files? and where do i upload them?

dawn wigeon
#

nodejs right?
edit: me dumb oops

clear spindle
#

im not sure im using that i have a django project

dawn wigeon
#

lmao i was certian node calls it module, im sorry for the confusion

#

please send your reqierments.txt file in this thread

clear spindle
dawn wigeon
#

what package do you use to connect to the s3 bucket

clear spindle
#

boto3 dose that sound right? sorry im teaching myself as i go.

dawn wigeon
#

try addding "django-storages" to your req.txt file

#

full word too hard to type, you know what file i mean

clear spindle
#

ok and try pushing again?

dawn wigeon
#

yep

clear spindle
#

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

dawn wigeon
#

please show a full screenshot of that error and send that file again

clear spindle
#

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

dawn wigeon
#

awsome, glad you got it working

also just curious, are you using aws s3 for s3?

clear spindle
#

yes

dawn wigeon
#

cool, happy coding!