简体   繁体   中英

Can't open file 'manage.py': [Errno 2] No such file or directory

My Procfile contains

web: gunicorn chn_parking.wsgi

Why I am getting this error?

Can't open file 'manage.py': [Errno 2] No such file or directory

I am trying to deploy an app on Heroku. All was fine...

在此处输入图片说明

Assuming your site is called chn_parking , your Procfile should probably contain

web: gunicorn chn_parking.wsgi

instead of referencing chn_parking.settings .

There is a bug on heroku. I build the app with python 3.7 and this is why gives me the error.https://github.com/heroku/heroku-buildpack-python/issues/728

What is odd, is the fact that earlier today, i pushed another app on heroku with 3.7 and it worked like a charm!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM