Install Pyodbc Debian

Posted on  by
Install Pyodbc DebianHow To Install Pyodbc

Python3 module for ODBC database access A Python3 DB API 2 module for ODBC. No 3rd party libraries are required. Only native Python datatypes are used, such as decimal and datetime. It implements the Python Database API Specification v2.0. For example: import pyodbc Next, create a connection by passing an ODBC connection string to the connect method. This step causes ODBC to load the database driver (the SQL Server driver in this example) and connect to the database.

Cnxn = pyodbc.connect('DSN=northwind').

FYI: The status of the pyodbc source package in Debian's testing distribution has changed. Previous version: 3.0.6-2 Current version: 3.0. Mitsubishi Asa General. 10-2 -- This email is automatically generated once a day. As the installation of new packages into testing happens multiple times a day you will receive later changes on the next day. Easysoft ODBC drivers have been tested with pyodbc 2.0+, 2.1+ and 3.0+ on RedHat, Ubuntu and Debian GNU/Linux, but should work with any recent 32-bit or 64-bit Linux distribution — CentOS, Fedora, Kubuntu, Mandrake/Mandriva, OpenSUSE/SUSE, RedHat Enterprise Linux (RHEL), Slackware and so on.