Error trying to install Postgres for python psycopg2 | pip install python psycopg2 (solved 100%)

preview_player
Показать описание
pip install python psycopg2 (solved)
Failed to build psycopg2
Installing collected packages: psycopg2

Thank You For Visiting My Channel.
****** Subscribe & Support ******
Рекомендации по теме
Комментарии
Автор

If you are Ubuntu 20.04 and getting the error:

The following packages have unmet dependencies:
libpq-dev : Depends: libpq5 (= 12.8-0ubuntu0.20.04.1) but 14.0-1.pgdg20.04+1 is to be installed
E: Unable to correct problems, you have held broken packages.

Simply follow this! You might have to 12.8-0 with the version from the error message

sudo apt-get install libpq5=12.8-0ubuntu0.20.04.1

sudo apt-get install libpq-dev

dimjon
Автор

There is nothing that discourages than facing a an error when executing code
but thanks for your help. i keenly followed your guide till the error was gone.
i cant imagine the whole window filled with those red lines
but thank you

MrBen-vswl
Автор

Thanks a lot brother..for this god level helping.

ashutoshpatil
Автор

Thank you so much, liked and subscribed

vinnycosta
Автор

I do the same to u. Finally, I got error the same at the beginning.

mindset
Автор

Cette vidéo m' a beaucoup aider, un grand MERCI de ma part
This video has helped me a lot, a big THANK YOU from me

alisamba
Автор

if you are on Mac MacOS you only need do running this on terminal SOLVES:
[ brew install postgresql ]

brenomedeirosdeoliveira
Автор

Thank you very much. it's too helpful

moroccanevil
Автор

Thank you so much the help this solution has worked for me.

tonykawule
Автор

Спасибо тебе дружище!
Thank you my friend!

bibiskins
Автор

thanks alot, i have a question how can you find the solution on your own ?where do you start and you handle and fix these problem in general ?thank you

davidrosen
Автор

I am getting same error in windows.please help me out

gajendrasingh
Автор

I am stuck here:

~$ sudo apt install libpq-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libpq-dev : Depends: libpq5 (= 12.5-0ubuntu0.20.04.1) but 13.0-1.pgdg20.04+1 is to be installed
E: Unable to correct problems, you have held broken packages.

PremlalPremkumar
Автор

Pretty sure this would have had more likes and response if only u had vocally explain
This aren't beginners friendly

goldsilver
Автор

Hi, does that only work on ubuntu server or also on local as well? Also i am using MAC, how do i solve this problem?

karimdakrouri
Автор

i am looking for windows solve i am using windows not linix

xmuradz
welcome to shbcf.ru