importError: no module named _winreg python3

后端 未结 4 1160
遥遥无期
遥遥无期 2021-01-03 21:37

Where can I download _winreg for python3 if I can at all. I have my \'windir\' on E:\\Windows. I do not know if cx_Freeze did not notice that. I am using cx_Freeze to create

4条回答
  •  [愿得一人]
    2021-01-03 22:03

    As it says in the _winreg documentation, it has been renamed to winreg in Python 3.0. You should run the 2to3 tool if you're converting code that was written for Python 2.x.

提交回复
热议问题