2
votes

I am going through this tutorial for Flask: https://devcenter.heroku.com/articles/python#specify-dependencies-with-pip

When I get to the part where I execute: 'foreman start' I receive: 'foreman is not recognized as an internal or external command, operable program or batch file.'

Could I please get some help in remedying this?

Thanks!

Also, I am running windows 7.

1
Is there a file named foreman or similar in python_install_dir\Scripts? - kirbyfan64sos
According to the Heroku Dev Center, foreman is automatically installed by the Heroku Toolbelt. Did you install that? - 2rs2ts
2rs2ts is right, the installer should set the path. Create a new terminal window (instead of using one that was open before you ran the installer, so that the new path is then used. - Yusuf X
You don't need foreman to push to Heroku. - michaelmeyer

1 Answers

0
votes

Old issue, but I ran into the same problem.

Needed to run: gem install foreman