Installing to Heroku fails
Opened this issue · 4 comments
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`
Hi @jayd3e ,
Do you found a workaround for this?
I too am facing the same issue while deploying to heroku
I'm also having this issue. I use Chef to automate deployment and it tries to install all the python packages at once. Out of 50+ packages python-firebase is the only one that has this type of dependency issue in its setup.py.
Yeah I just forked it https://github.com/jayd3e/python-firebase. Completely forgot about this, will try to get a pull request made asap.