![]() ![]() Settings = [ '-Wno-write-strings'Įdit the line so that it looks likes this: To do this, open setup.py in a text editor and find this line: To build pyodbc against unixODBC, you need to tell the compiler and linker where to find the unixODBC include files and libraries.Copy the distribution file to your Python machine, unzip and cd into the directory created by unzipping the file.Download the source distribution from the pyodbc web site.We recommend that you use the driver manager distributed with the driver because this is the version of unixODBC that we test the driver with. These instructions show how to build pyodbc against the unixODBC driver manager supplied with an Easysoft ODBC driver. On Unix and Linux platforms, you need to download the pyodbc source distribution and build it against an ODBC driver manager. ![]() To exit, press return in an empty prompt line. For example:Īt the prompt, type "help" to display a list of tables. # for the SQL Server login, omit this attribute # If the database you want to connect to is the default For example, this SQL Server ODBC data source connects to a SQL Server Express instance that serves the Northwind database:
0 Comments
Leave a Reply. |