Heroku push fails repeatedly, appears to fail on installing Bonjour

前端 未结 4 1522
既然无缘
既然无缘 2020-12-19 05:06

I\'m attempting to follow Heroku\'s python quickstart guide but am running into repeated problems. At the moment, \"git push heroku master\" is failing because it cannot ins

4条回答
  •  再見小時候
    2020-12-19 05:54

    Maybe you are using a virtual environment and you just forgot to activate it

    In this case, depending on how you stored the virtual environment in your project, you will probably first need to

    source venv/bin/activate
    

    and after that freeze your requirements

    pip freeze > requirements.txt
    

    finally

    git push heroku master
    

提交回复
热议问题