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

On 10/31/19, soumya sharma <[email protected]> wrote:
> 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. :)
>
> On Thursday, October 31, 2019 at 5:50:36 PM UTC+5:30, Kasper Laudrup wrote:
>>
>> 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
>>
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6a536e1b-6bfd-43e5-9d74-62f876a1af5d%40googlegroups.com.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGRTm9G8bzWnhnHYXsFatWmAfoZE9ctWAuDYQOOnNGRT7NOP0Q%40mail.gmail.com.

Reply via email to