Psycopg2 on Fedora

I am trying to install psycopg2 using pip on Fedora.

I get a message:

"pg_config executable file not found."

On ubuntu, this problem can be solved by installing the libpq-dev and python-dev packages. Fedora does not have a clear, similar solution.

+6
source share
1 answer

You are probably looking for the python-devel and postgresql-devel packages.

+10
source

Source: https://habr.com/ru/post/906962/


All Articles