Skip to content

Install

Keith Erskine edited this page May 23, 2015 · 4 revisions

Overview

Typically, pyodbc is installed like any other Python package by running:

pip install pyodbc

from a Windows DOS prompt or Unix shell. See the pip documentation for more details about the pip utility.

As always when installing modules, you should consider using Python virtual environments.

Windows

Alternatively, pyodbc can be installed by downloading 'wheels' from Christoph Gohlke's excellent collection of Windows binaries, located here.

To install a wheel, simply download the appropriate one to your PC and run the following command from the DOS prompt:

pip install C:\Path\To\Your\Downloaded\WheelFile.whl

Clone this wiki locally