I have pyodbc
installed and I am trying to connect to a server, but pyodbc
can't find the drivers. I did the following:
Installed
pyodbc
usingpip
:pip install pyodbc
Followed the Microsoft instructions.
Ran a test script:
import pyodbc print(pyodbc.drivers())
which returned an empty array.
What else do I need to do? I'm running the script in a Jupyter Notebook inside an Anaconda Python install.
I was having same issue. The only workaround I found was to pass the driver file location to the connection request. But the connection/bandwidth is extremely slow when trying to query using
pyodbc
(compared with using SQL Ops Studio).