Команды почти одни и те же, в первом случае
apt-get install python-dev python-pip unixodbc-dev mdbtools libmdbodbc1 pip install pyodbc
на VMWare
apt-get install python-dev python-pip unixodbc-dev mdbtools libmdbodbc1 pip install https://pyodbc.googlecode.com/files/pyodbc-3.0.6.zip
/etc/odbc.ini
[test] Description = Test mdb database Driver = MDBTools Database = /home/albert/books.mdb Servername = localhost Username = Password = port = 5432
In [1]: import pyodbc In [2]: dbq = pyodbc.connect('DSN=test') In [3]: cursor = dbq.cursor() In [4]: cursor.execute('SELECT ID FROM Books') Segmentation fault root@ubuntu:/home/albert#
ОС: Ubuntu, python 2.7