conneting heroku to github repo not possible

Viewed 20

I tried to deploy this repo in Heroku: https://github.com/balajiabcd/Heart-Attact-Prediction

While deploying I got this error.

Collecting python-dateutil==2.8.2  
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)  
Collecting pytz==2022.2.1  
Downloading pytz-2022.2.1-py2.py3-none-any.whl (500 kB)  
ERROR: Could not find a version that satisfies the requirement  
pywin32==304 (from versions: none)  
ERROR: No matching distribution found for pywin32==304  
! Push rejected, failed to compile Python app.  
! Push failed  

Then I did this to requirments.txt.

pywin32==304;platform_system == "Windows"  
pywinpty==2.0.8;platform_system == "Windows"

Then deployed the repo in Heroku. I get view option.
Upon clicking the view button, I get this.

Application error  
An error occurred in the application and your page could not be served.   
If you are the application owner, check your logs for details.  
You can do this from the Heroku CLI with the command  
heroku logs --tail

Then I run this command in command prompt. Then i get this.

heroku logs --app heart-attack-predictor01

Then i received these logs.

2022-09-24T11:01:38.000000+00:00 app[api]: Build started by user balajidotaddanki@gmail.com  
2022-09-24T11:03:03.186711+00:00 app[api]: Release v10 created by user balajidotaddanki@gmail.com  
2022-09-24T11:03:03.186711+00:00 app[api]: Deploy 63c681bb by user balajidotaddanki@gmail.com  
2022-09-24T11:03:34.000000+00:00 app[api]: Build succeeded  
2022-09-24T11:04:11.120412+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=heart-attack-predictor01.herokuapp.com request_id=ad387670-9eac-4082-90a3-4e41173aa712 fwd="77.191.158.101" dyno= connect= service= status=503 bytes= protocol=https  
2022-09-24T11:04:11.633944+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=heart-attack-predictor01.herokuapp.com request_id=0c347095-187a-454d-8a44-57368b0b9d05 fwd="77.191.158.101" dyno= connect= service= status=503 bytes= protocol=https

Can you please help me what to do with this problem.

0 Answers
Related