Pywintypes error when running an adodbapi package python query

234 Views Asked by At

I am having difficulty installing adodbapi and running a script which uses SQL to connect and run a DAX query using adodbapi. I have run into this error on multiple machines.

Error

1

There are 1 best solutions below

0
Sanch On BEST ANSWER

The issue is due to an MSOLAP update. I have copied an old MSOLAP.dll file (version 15) and overwritten the newer one (version 16).

https://github.com/mhammond/pywin32/issues/1820