1👍
✅
Running johnnydep
on your requirements.txt, shows that django-heroku
depends on psycopg2
:
>>> johnnydep django-heroku
2022-07-19 17:03:28 [info ] init johnnydist [johnnydep.lib] dist=django-heroku parent=None
2022-07-19 17:03:30 [info ] init johnnydist [johnnydep.lib] dist=dj-database-url>=0.5.0 parent=django-heroku
2022-07-19 17:03:32 [info ] init johnnydist [johnnydep.lib] dist=django parent=django-heroku
2022-07-19 17:03:37 [info ] init johnnydist [johnnydep.lib] dist=psycopg2 parent=django-heroku
2022-07-19 17:03:45 [warning ] Created temporary directory: /private/var/folders/0t/p6l6_9qd15bb9qx6bq2mrt1r0000gn/T/pip-ephem-wheel-cache-q2agslxa
....
Notes:
1.) I stopped after the first match (possibly there are more dependencies).
2.) I dont know if it is sufficient to put psycopg2-binary
at the beginning of your requirements.txt, to prevent psycopg2
needed to get installed.
0👍
Deleting "django-heroku" from requirements.txt and also removing it from settings.py file solved my issue
- [Answered ]-Latest django-mongodb-engine
- [Answered ]-Django Migrate : TypeError: int() argument must be a string or a number, not 'User'
- [Answered ]-Django, efficiently retrieve the count of multiple field filters
- [Answered ]-Manipulating Django form to show the correct validation error(s)
- [Answered ]-Why user.is_authenticated not working? django, LoginRequiredMixin
Source:stackexchange.com