Skip to content

Heroku deploy fail #183

@farrjp

Description

@farrjp

When trying to use the Heroku deploy button, it fails at the end of the 'build app', with the following error message included at the end of the build log:

File "/app/.heroku/python/lib/python3.6/site-packages/provider/oauth2/init.py", line 1, in
import backends
ModuleNotFoundError: No module named 'backends'
! Error while running '$ python src/manage.py collectstatic --noinput'.
See traceback above for details.
You may need to update application code to resolve this error.
Or, you can disable collectstatic for this application:
$ heroku config:set DISABLE_COLLECTSTATIC=1
https://devcenter.heroku.com/articles/django-assets
! Push rejected, failed to compile Python app.
! Push failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions