You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to import comtypes.viewobject, I get the following error:
File "<stdin>", line 1, in <module>
File "C:\Users\manow\miniconda3\envs\py37_ml_TfGpuMain\lib\site-packages\comtypes\viewobject.py", line 26, in <module>
assert sizeof(tagLOGPALETTE) == 8, sizeof(tagLOGPALETTE)
AssertionError: 12
This occurs with comtypes 1.1.14 using Python 3.7 or 3.8
The text was updated successfully, but these errors were encountered:
It looks like old asserts are valid for 32-bit Python only. For 64-bit Python we need to add conditional asserts. I did similar job for pywinauto a long time ago (between 2010 and 2014).
@DManowitz do you see such issue in 32-bit Python?
When I try to import comtypes.viewobject, I get the following error:
This occurs with comtypes 1.1.14 using Python 3.7 or 3.8
The text was updated successfully, but these errors were encountered: