-
-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SyntaxError: invalid syntax when installing with setuptools >= 60.0.0 #244
Comments
After a bit of looking around, here's what I've found:
I have no idea how to fix the issue on comtypes's side though. |
Run into same issue using pywinauto. |
Running into the same problem with python 3.8 ... this is a real blocker. Some thoughts on fixing this:
|
I have the same issue while using pywinauto. |
This package is not compatible with setuptools>=58, since it's Python 2 code and setuptools dropped support for translating Python 2 to Python 3. See also this issue: enthought/comtypes#244 Contributes to issue CURA-8592.
This package is not compatible with setuptools>=58, since it's Python 2 code and setuptools dropped support for translating Python 2 to Python 3. See also this issue: enthought/comtypes#244 Contributes to issue CURA-8592.
hmmm...Wondered if there will be a verion support python3 by installed with pip. |
see for workaround (#180 (comment)) |
I can confirm that importing 1.1.11 works fine with setuptools 60.9.0, so I'm closing this ticket. Thanks! |
Win10 64bit
Python 3.9.9 64bit
setuptools >= 60.0.0
Steps
pip install comtypes
python
and executeimport comtypes
Expected
comtypes
importedActual
Additional notes
setup.py:
Importing
build_py_2to3
fails and I believe that results in code not being translated to Python 3.It works fine with setuptools 59.8.0, although already in version 58.0.0 I found information (I'm not sure if it's 100% related):
The text was updated successfully, but these errors were encountered: