Create Postgres 9.3 connection with Python 3.6

0

I am starting to program in Python . My first problem is this: I can not connect to the bd of postgres . The library psycopg2 is not detected by the program pycharm

I downloaded this program, which has been installed correctly.

And I have tried to execute this code, with its corresponding error.

Is there a version of psycopg2 for version 9.3 of postgres ? ... In case the problem was this

    
asked by Adolfi Téllez 24.12.2018 в 20:30
source

1 answer

-1

The connector that you have downloaded is for python 3.6 and postgresql 9.6.1, that may be the reason why it has not worked for you.

You can also use the python -m pip freeze command to see all the libraries you have installed and verify that pyscopg2 is actually installed.

    
answered by 28.12.2018 в 16:39