16👍
✅
There was a problem with:
pip install django-heroku
It was not fully installed because thee was a problem with psycopg2
that was not installed.
To install psycopg2
, run:
pip install psycopg2
Then you can run pip install django-heroku
and the error disappeared.
You can also try installing:
pip install psycopg2-binary
if the error persists
1👍
I had the same problem as well. I have psycopg2 installed. (for postgres)
Installing ‘psycopg2- binary’ solved my problem.
0👍
For me, the error was due to adding django-heroku to installed apps in settings.py..,removing it solved the issue.
- Django 1.8: Migrations not detected after deleting migrations folder
- How to generate presigned S3 urls using django-storages?
- Treat NULL as '0' in Django model
- Django 1.4 Unknown command: 'runserver'
Source:stackexchange.com