pyodbc.Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib '/usr/local/lib/libmyodbc8a.so' : file not found (0) (SQLDriverConnect)") #1331
Replies: 6 comments
-
Which OS is this? If |
Beta Was this translation helpful? Give feedback.
-
i am using ubuntu 20.04 os and i had called same driver for both isql and pyodbc. |
Beta Was this translation helpful? Give feedback.
-
my odbcinst.ini files has [ODBC Driver 17 for SQL Server] [ODBC Driver For MySQL] [mysql] [MySQL ODBC 8.3 Unicode Driver] [MySQL ODBC 8.3 ANSI Driver] and odbc.ini has [test] |
Beta Was this translation helpful? Give feedback.
-
I don't know if that is helpful, but I had pretty much the same issue and somehow got it working now. I then checked the installed version of pyodbc, which was 5.1.0 (installed yesterday via pip) and tried to downgrade it to 4.0.93. Then it suddenly worked. |
Beta Was this translation helpful? Give feedback.
-
What was the one additional library package that you installed? isql isn't working for me too. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure anymore, but I think in my case it was one of those: libaio1, libodbc2, libodbcinst2 Best is to check with |
Beta Was this translation helpful? Give feedback.
-
i am aable to connect the same db using the odbc driver with isql but i am unable to connect using pyodbc.
Beta Was this translation helpful? Give feedback.
All reactions