Installing to Heroku fails sometimes, b/c simply running any setuptools command requires requests to be installed. This is due to the fact that the version is obtained from here. Here is an example of the error message that you would receive if experiencing this error:
Obtaining python-firebase from git+git://github.com/jayd3e/python-firebase.git#egg=python_firebase (from -r requirements.txt (line 42))
Cloning git://github.com/jayd3e/python-firebase.git to ./.heroku/src/python-firebase
Running setup.py egg_info for package python-firebase
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/app/.heroku/src/python-firebase/setup.py", line 9, in <module>
from firebase import __version__
File "firebase/__init__.py", line 4, in <module>
from firebase import *
File "firebase/firebase.py", line 10, in <module>
from .decorators import http_connection
File "firebase/decorators.py", line 1, in <module>
import requests
ImportError: No module named requests
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/app/.heroku/src/python-firebase/setup.py", line 9, in <module>
from firebase import __version__
File "firebase/__init__.py", line 4, in <module>
from firebase import *
File "firebase/firebase.py", line 10, in <module>
from .decorators import http_connection
File "firebase/decorators.py", line 1, in <module>
import requests
ImportError: No module named requests`
Installing to Heroku fails sometimes, b/c simply running any setuptools command requires
requeststo be installed. This is due to the fact that the version is obtained from here. Here is an example of the error message that you would receive if experiencing this error: