Not able to install django-heroku

24 views
Skip to first unread message

soumya sharma

unread,
Oct 31, 2019, 7:45:23 AM10/31/19
to Django users
I tried installing the psycopg-binary as suggested in the error statement but it is still not working. Please help
Screenshot from 2019-10-31 12-44-41.png
Screenshot from 2019-10-31 12-45-02.png

Kasper Laudrup

unread,
Oct 31, 2019, 8:20:36 AM10/31/19
to django...@googlegroups.com
Hi Soumya,

On 31/10/2019 08.28, soumya sharma wrote:
> I tried installing the psycopg-binary as suggested in the error
> statement but it is still not working. Please help
>

I don't know anything about django-heroku, but the reason you get the
error is that you are attempting to build the psycopg2 package from
source. In order to do that you need to have the python development
package installed. You haven't specified which distro you are using
(assuming this is on Linux), but it's probably called something like
python-devel, python3-dev or similar.

Kind regards,

Kasper Laudrup

soumya sharma

unread,
Oct 31, 2019, 10:57:59 AM10/31/19
to Django users
Thanks, Kasper. I don't know what the issue was but it is working fine now. I added django-heroku==0.3.1 in the requirements.txt file and it worked. :)

lewis machilika

unread,
Oct 31, 2019, 5:10:34 PM10/31/19
to django...@googlegroups.com
i think you should first check version of both pip and python
u might need pip3 or python 3 to run those commands since you are
trying to install latest version of django using old pip/python
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6a536e1b-6bfd-43e5-9d74-62f876a1af5d%40googlegroups.com.
>
Reply all
Reply to author
Forward
0 new messages