importError: no module named _winreg python3

后端 未结 4 1139
遥遥无期
遥遥无期 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:09

    I know this is an old question, but this was the first search result when Googling for ModuleNotFoundError: No module named '_winreg', and perhaps may be helpful for someone.

    I got the same error when trying to use a virtual environment folder, which has been created using different (already deleted) python binaries. The solution was recreate the virtual environment:

    1. Delete the virtual environment folder
    2. Run python -m venv

提交回复
热议问题