'Pywintypes error when running an adodbapi package python query

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



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source