Can't load plugin: sqlalchemy.dialects:postgresql .......
This my code:
This my code:
1 2 3 4 5 6 7 8 9 10 11 |
import sqlalchemy as s import psycopg2 as p met = s.MetaData.create_all(eng, checkfirst = True ) def update_data(table, conditions, values): with eng.connect() as conn: if conn is not None : print ( "Esta conecta ao banco" ) else : print ( "Esta faltando algo" ) |
Larz60+ write Mar-25-2024, 08:27 PM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Code modified for you this time, please use BBCode tags on future posts.
Also please show full unedited error transcript
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Code modified for you this time, please use BBCode tags on future posts.
Also please show full unedited error transcript