{"action":"created","issue":{"url":"https://api.github.com/repos/enthought/comtypes/issues/99","repository_url":"https://api.github.com/repos/enthought/comtypes","labels_url":"https://api.github.com/repos/enthought/comtypes/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/enthought/comtypes/issues/99/comments","events_url":"https://api.github.com/repos/enthought/comtypes/issues/99/events","html_url":"https://github.com/enthought/comtypes/issues/99","id":142433451,"number":99,"title":"comtypes 1.1.2 installation error on ActivePython 2.7.8.10 x64 (Win8.1 x64)","user":{"login":"vasily-v-ryabov","id":7419086,"avatar_url":"https://avatars.githubusercontent.com/u/7419086?v=3","gravatar_id":"","url":"https://api.github.com/users/vasily-v-ryabov","html_url":"https://github.com/vasily-v-ryabov","followers_url":"https://api.github.com/users/vasily-v-ryabov/followers","following_url":"https://api.github.com/users/vasily-v-ryabov/following{/other_user}","gists_url":"https://api.github.com/users/vasily-v-ryabov/gists{/gist_id}","starred_url":"https://api.github.com/users/vasily-v-ryabov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vasily-v-ryabov/subscriptions","organizations_url":"https://api.github.com/users/vasily-v-ryabov/orgs","repos_url":"https://api.github.com/users/vasily-v-ryabov/repos","events_url":"https://api.github.com/users/vasily-v-ryabov/events{/privacy}","received_events_url":"https://api.github.com/users/vasily-v-ryabov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-21T18:33:18Z","updated_at":"2016-03-21T19:49:15Z","closed_at":null,"body":"When I downloaded comtypes 1.1.2 and ran `python setup.py install` it outputs the following at the end:\r\n\r\n```\r\nProcessing comtypes-1.1.2-py2.7.egg\r\ncreating c:\\python27_x64\\lib\\site-packages\\comtypes-1.1.2-py2.7.egg\r\nExtracting comtypes-1.1.2-py2.7.egg to c:\\python27_x64\\lib\\site-packages\r\n  File \"c:\\python27_x64\\lib\\site-packages\\comtypes-1.1.2-py2.7.egg\\comtypes\\__in\r\nit__.py\", line 902\r\n    class _compointer_base(c_void_p, metaclass=_compointer_meta):\r\n                                              ^\r\nSyntaxError: invalid syntax\r\n\r\n  File \"c:\\python27_x64\\lib\\site-packages\\comtypes-1.1.2-py2.7.egg\\comtypes\\test\r\n\\test_variant.py\", line 304\r\n    print(\"%40s: %7.1f us\" % (msg, duration), file=sys.stderr)\r\n                                                  ^\r\nSyntaxError: invalid syntax\r\n\r\n  File \"c:\\python27_x64\\lib\\site-packages\\comtypes-1.1.2-py2.7.egg\\comtypes\\test\r\n\\__init__.py\", line 95\r\n    print(\"Skipped %s: %s\" % (modname, detail), file=sys.stderr)\r\n                                                    ^\r\nSyntaxError: invalid syntax\r\n\r\n  File \"c:\\python27_x64\\lib\\site-packages\\comtypes-1.1.2-py2.7.egg\\comtypes\\tool\r\ns\\codegenerator.py\", line 172\r\n    print(\"from %s import %s\" % (mod, name), file=self.imports)\r\n                                                 ^\r\nSyntaxError: invalid syntax\r\n\r\nAdding comtypes 1.1.2 to easy-install.pth file\r\n```\r\n\r\nAfter importing comtypes I have another error:\r\n```\r\nTraceback (most recent call last):\r\n  File \".\\pywinauto\\unittests\\test_UIAWrapper.py\", line 10, in <module>\r\n    from pywinauto.application import Application\r\n  File \".\\pywinauto\\__init__.py\", line 30, in <module>\r\n    from . import findwindows\r\n  File \".\\pywinauto\\findwindows.py\", line 32, in <module>\r\n    from . import win32functions\r\n  File \".\\pywinauto\\win32functions.py\", line 24, in <module>\r\n    from . import win32defines, win32structures\r\n  File \".\\pywinauto\\win32structures.py\", line 28, in <module>\r\n    from . import sysinfo\r\n  File \".\\pywinauto\\sysinfo.py\", line 26, in <module>\r\n    import comtypes\r\n  File \"C:\\Python27_x64\\lib\\site-packages\\comtypes-1.1.2-py2.7.egg\\comtypes\\__init__.py\", line 902\r\n    class _compointer_base(c_void_p, metaclass=_compointer_meta):\r\n                                              ^\r\nSyntaxError: invalid syntax\r\n```\r\n\r\nP.S. On Win7 x64 it works fine."},"comment":{"url":"https://api.github.com/repos/enthought/comtypes/issues/comments/199446497","html_url":"https://github.com/enthought/comtypes/issues/99#issuecomment-199446497","issue_url":"https://api.github.com/repos/enthought/comtypes/issues/99","id":199446497,"user":{"login":"vasily-v-ryabov","id":7419086,"avatar_url":"https://avatars.githubusercontent.com/u/7419086?v=3","gravatar_id":"","url":"https://api.github.com/users/vasily-v-ryabov","html_url":"https://github.com/vasily-v-ryabov","followers_url":"https://api.github.com/users/vasily-v-ryabov/followers","following_url":"https://api.github.com/users/vasily-v-ryabov/following{/other_user}","gists_url":"https://api.github.com/users/vasily-v-ryabov/gists{/gist_id}","starred_url":"https://api.github.com/users/vasily-v-ryabov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vasily-v-ryabov/subscriptions","organizations_url":"https://api.github.com/users/vasily-v-ryabov/orgs","repos_url":"https://api.github.com/users/vasily-v-ryabov/repos","events_url":"https://api.github.com/users/vasily-v-ryabov/events{/privacy}","received_events_url":"https://api.github.com/users/vasily-v-ryabov/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T19:49:15Z","updated_at":"2016-03-21T19:49:15Z","body":"This issue is reproduced after I installed `comtypes` on Python 3.4 64-bit and then ran `python setup.py install` for Python 2.7 64-bit.\r\n\r\nWhen I unpacked sources from scratch, I've installed it successfully. But issue #98 is reproduced anyway.\r\n\r\nMany other packages allow installing into many Pythons without special clean-up. I'd prefer not thinking how many times I've run `setup.py install` and for which Pythons."}}