Installing pyodbc on ubuntu > 12

I had many problems with it till I got it running, pycharm (“intelligence”) won’t help you there cause you’ll need to compile the lib for it to work first.

$ sudo apt-get install unixODBC-dev

$ sudo apt-get install g++

$ sudo apt-get install python-dev

$ sudo apt-get install tdsodbc

download and extract the pyodbc source code (http://code.google.com/p/pyodbc/downloads/detail?name=pyodbc-3.0.7.zip&can=2&q=)

run the setup file in the extracted directory:
$ python setup.py build
$ sudo python setup.py install

Thank you for your interest!

We will contact you as soon as possible.

Send us a message

Oops, something went wrong
Please try again or contact us by email at info@tikalk.com