Closed dzeleznik closed 7 years ago
Sorry for the noise, but turns out cygwinreg module is so outdated as to be non-functional against latest GNU python 2.7 and 3.6 running on Windows x64. I spent about 4 hours trying to debug and finally gave up. Resigned myself to installing Python for Windows and your script ran fine.
You can just alter your copy to do this. You'll have to keep up with any major changes in the official version, but I'm really hoping not to have many.
Thanks for the reply, due to problems getting the cygwinreg module to work with latest versions of Windows, I went ahead and installed Python from python.org.
The winreg module does not exist in the Cygwin ports of Python. Speaking as someone that uses Cygwin and has no interest to install a separate version of python, there is a simple fix to your script that takes advantage of the cygwinreg module found at https://pypi.python.org/pypi/cygwinreg/: The module import code in your script would change to something like