[Python] No module named 'pkg_resources' on Heroku

Discussão em 'Python' iniciado por Stack, Julho 23, 2025.

  1. Stack

    Stack Membro Participativo

    I have a pyramid web app on Heroku. Today my push was rejected because I lacked a pipfile.lock. Then after adding it my build failed with the error message No Module named 'pkg_resources'. My python version is 3.13 on both heroku and my local machine and I see that pkg_resources is present however accompanied by a DeprecationWarning locally.

    What do I need to do to get my app back up and running on Heroku?

    Continue reading...

Compartilhe esta Página