I just updated my python from 3.7 to 3.10 and now there are import error's.
While I just needed for import win32gui
turn into import win32.win32gui
as suggested here. There seems no other syntax for import win32ui
, after some research I found this github report that has been closed with:
That's very helpful, thanks, and I can reproduce this in visual studio
- I didn't consider that an exception was being caught and ignored. Turns out we aren't holding the GIL when we call back into Python - I've no idea why this is different in 3.9 vs other versions, but the fix is simple and is safe in all versions.
While there is suggested to comment out a line in a file named win32control which I apperantly dont have or find. Neither it seems possible in my compiled files that looks like:
G Áàȉ x@;÷щ
Nor do I understand the wheel solution and what to do with it, since I am still a beginner with hobby experience in python programming.
Update I just found this Q&A but not sure if it is related.