I was pushing the current git repository into the heroku. That online application was developed using Scala and IntelliJ. And I don\'t know how to fix this error.
Specify the buildpack while creating the app.
heroku create appname --buildpack heroku/python