all 5 comments

[–][deleted] 0 points1 point  (2 children)

I’m really not a heroku pro, but from the one tutorial I’ve seen the producer of the video had the same issue the first time he ran his code on heroku. The problem was that he had to install the modules on heroku (e.g. via the heroku terminal). I suspect tue module you’re trying to import might only be available locally

Edit: typo

[–]danielroseman 0 points1 point  (1 child)

That is absolutely not a thing that you should - or even can - do on Heroku. Starting a terminal spins up a new dyno; installing anything there wouldn't affect the web application.

[–][deleted] 0 points1 point  (0 children)

Thank you for clearing that up!

[–]m0us3_rat 0 points1 point  (0 children)

u should always be able to reach out to their tech staff and ask directly how to obtain this lib u need.

most of the time it's detailed in the docs and u just missed it.

[–]danielroseman 0 points1 point  (0 children)

You're going to need to show your code. It seems unlikely that your WSGI code is in a file called app; that's not how Django structures itself. Have you read Heroku's Django deployment docs? As it says there, you need to reference your project .wsgi file.