MyTetra Share
Делитесь знаниями!
importError: no module named _winreg python3
Время создания: 17.07.2018 11:16
Текстовые метки: python python3 python2 compatibility winreg error
Раздел: Python

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 an msi installer.


python cx-freeze winreg

shareimprove this question

asked Dec 1 '10 at 2:47


BantuCoder

81118

add a comment

2 Answers

active oldest votes

up vote

19

down vote

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.


shareimprove this answer

answered Dec 1 '10 at 2:53


Velociraptors

1,7891221

Thanx, I went into the offending code and renamed _winreg to winreg. – BantuCoder Dec 1 '10 at 3:09

Так же в этом разделе:
 
MyTetra Share v.0.53
Яндекс индекс цитирования