Problem with deployement on Heroku with WINDOWS

Hello Streamlit users and support team,

Has anyone deployed Streamlit on Heroku with WINDOWS ?
There are excellent tutorials for the deployment of Streamlit with Heroku but unfortunately for me, it is for Linux. Maybe I have missed it, but I haven’t seen anything for windows.

Following the indications given here:
it seems that Pocfile for Linux should be, and these files are different. It seems that there are 3 required files for Windows:

  • requirements.txt
    My requirements.txt file is obtained by pip freeze > requirements.txt in the virtual environment of Streamlit (with packages pywin32 and pywinpty removed)
    I have copied the file given by Heroku.
    I have tried several modifications of the original given by Heroku to put Streamlit in, but none of them gave me a successful deployment.

The result I obtained was this:

  • Build successful
  • But opening the app gives error H14

2020-05-08T08:37:37.000000+00:00 app[api]: Build succeeded
2020-05-08T08:38:57.237980+00:00 heroku[router]: at=error code=H14 desc=“No web processes running” method=GET path="/" request_id=10a1d7e6-5671-4015-9019-e5e2d3eeca1a fwd=“” dyno= connect= service= status=503 bytes= protocol=https

I had tried heroku ps:scale web=1 as recommended on but didn’t work.

I have been struggling with this for days!
Thanks in advance for any help that can be given.

Kind regards

tengo el mismo problema, por favor alguien tiene alguna referencia o alguien me podría ayudar, favor, llevo días tratando de solucionar inicialmente: Problema con Heroku en windows / requisito pywin32 == 228.

Hey @AZlearn, on the off chance you’re still having this problem:

To deploy Streamlit on Heroku, you need to pass the $PORT environment variable (from within your Heroku instance) to your Streamlit app. Here’s one tutorial that does so by dynamically writing a .streamlit/config.toml file with the correct port value:

(Note that their provided code snippet for is missing a closing quotation mark)

Hi @AustinC,

I already solved my problem, but thanks for your answer.
Your tutorial is great !


I have the same issue, I tried above solutions but didn’t work for me

I cant even deploy this simple streamlit app.
Please kindly help me, i’m facing this issue for past 2 days (created multiple files and tested but not use)
Thanks in advance

Hi @Sunil_Aleti,

I just followed step by step what is indicated in this tutorial

and it worked for me.

Hope that will work for you too.