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
I usually had same issue with some project referencing bonjour-py
in their requirements.txt
, didn't know which or how to track that one at the moment.
And someone told me that pip-tool. It's actually a great alternative to identify which you have, and if you want to update them. And as a bonus it ignored well the bonjour-py
error.
Are you trying to push the example app from the quickstart? Many of the requirements you're trying to install aren't required at all.
I suspect that you created your requirements file outside of the recommended virtualenv, and that twisted and bonjour-py are packages install in your system python installation.
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
Why is bonjour-py
in your requirements.txt file? Removing it should fix your problem.
Furthermore, I can't seem to install it either, so it's no wonder Heroku fails there.
(so)modocache $ pip install bonjour-py
Downloading/unpacking bonjour-py
Could not find any downloads that satisfy the requirement bonjour-py
No distributions at all found for bonjour-py
Storing complete log in /Users/modocache/.pip/pip.log