I recently upgraded to Django 3 and installed a new virtual environment.
I installed all the dependent modules until I got to boto.
I installed django storages with the following command:
pip3 install django-storages
I still received the error:
File "custom_storage.py", line 2, in <module>
from storages.backends.s3boto import S3BotoStorage
ModuleNotFoundError: No module named 'storages.backends.s3boto'
Here is what my custom_storages.py looks like:
from storages.backends.s3boto import S3BotoStorage
class StaticStorage(S3BotoStorage):
location = settings.STATICFILES_LOCATION
class MediaStorage(S3BotoStorage):
location = settings.MEDIAFILES_LOCATION
I then tried to install boot directly with the following command:
pip3 install boto3
I still get the above error.
Is there anything else needed to be installed to get past this error?