No module named 'sendgrid_backend' in django
问题 When sending an email on heroku I get this error: No module named 'sendgrid_backend' I have this set up in settings.py: EMAIL_BACKEND = "sendgrid_backend.SendgridBackend" SENDGRID_API_KEY = os.environ.get("SENDGRID_API_KEY") EMAIL_PORT = 587 EMAIL_USE_TLS = True EMAIL_HOST = 'smtp.sendgrid.net' EMAIL_HOST_USER = 'apikey' EMAIL_HOST_PASSWORD = os.environ.get('SENDGRID_API_KEY') I also did install of sendgrid using pip and included it in the requirements.txt 回答1: I think this will help you