python - Heroku ImportError: No Module named hello -


so created first little website python, virtualenv , lpthw.web. when run python bin/app.py, can go browser localhost:8080 , works no problem.

however, after setting heroku, when run foreman get: importerror: no module named hello.

i don't know if relevant tried deploy heroku anyway, , when type heroku open get:

  at=error code=h10 desc="app crashed" method=get path=/ host=arcane-lake- 2908.herokuapp.com fwd="71.20.1.73" dyno= connect= service= status=503 bytes=   2013-09-03t09:47:58.419844+00:00 heroku[router]: at=error code=h10 desc="app crashed" method=get path=/favicon.ico host=arcane-lake-2908.herokuapp.com fwd="71.20.1.73" dyno=   connect= service= status=503 bytes= 

i had same error, , it's simple fix. take @ procfile. shows

web: gunicorn hello:app 

you should replace hello name of app.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -