繁体   English   中英

无法打开文件 'manage.py': [Errno 2] 没有那个文件或目录

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

我的Procfile包含

web: gunicorn chn_parking.wsgi

为什么我收到这个错误?

无法打开文件 'manage.py': [Errno 2] 没有那个文件或目录

我正在尝试在 Heroku 上部署一个应用程序。 一切都很好...

在此处输入图片说明

假设您的网站名为chn_parking ,您的Procfile可能包含

web: gunicorn chn_parking.wsgi

而不是引用chn_parking.settings

heroku 上有一个错误。 我用 python 3.7 构建应用程序,这就是为什么给我错误。https://github.com/heroku/heroku-buildpack-python/issues/728

奇怪的是,今天早些时候,我在 heroku 上用 3.7 推送了另一个应用程序,它运行起来非常棒!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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