Open m-rossi opened 3 years ago
Same issue here - using pip install comtypes==1.1.7
solves it for now
Fixed in comtypes==1.1.9
.
It still throws the same exception with comtypes==1.1.9
@Whiskas101
As the maintainer of comtypes
, I found this.
Does this also occur with the latest version, comtypes==1.4.4
?
Additionally, the native codebase of comtypes
was Python 2 up to version 1.1.11
. As reported in https://github.com/enthought/comtypes/issues/251, the native codebase was converted to Python 3 following the drop of the 2to3 conversion.
The fact that comtypes==1.1.9
did not result in a SyntaxError but ran for a moment, even if it resulted in another error, suggests that there might be something special about your environment.
Please provide the traceback and the Python version.
If this issue can also occur with the latest comtypes
, I would be happy to help with the fix.
In any case, since I cannot reproduce the issue in my environment, I feel that your cooperation is necessary to resolve the problem.
It does not occur with 1.4.4, that's what I am currently using. I'll provide the details you asked for when I get back home to my PC.
Expected Behavior
As documented in https://github.com/conda-forge/pywinauto-feedstock/issues/11 and https://github.com/enthought/comtypes/issues/222
fails when comtypes 1.1.8 is installed. A downgrade to 1.1.7 fixes the issue. I added a version constraint in the conda-forge-recipe https://github.com/conda-forge/pywinauto-feedstock/blob/1a4d91fc9e71b66f274c453b320a8c8de41baf4e/recipe/meta.yaml
Actual Behavior
Steps to Reproduce the Problem
Specifications