Heroku: ImportError: No module named site

前端 未结 2 1301
别那么骄傲
别那么骄傲 2021-01-19 06:11

After some changes in my repo and deploy to heroku I am receiving the following error:

ImportError: No module named site

I not have idea what can cause the p

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-19 06:53

    Take a look at your Procfile. It should show something like this:

    web: gunicorn site:app
    

    Make sure site is the name of your app.

提交回复
热议问题