python 3.1 and pywin 214 gives some errors when installing
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
python 3.1 and pywin 214 gives some errors when installing:
Traceback (most recent call last):
File "<string>", line 601, in <module>
File "<string>", line 329, in install
File "<string>", line 15, in write
AttributeError: 'NoneType' object has no attribute 'write'
Eino, All,
Was this issue resolved?? I'm trying to install pywin 214 with python 3.1.2 on windows 7 (32-bit) and seeing exactly the same problem.
I still see this on selected machines. I haven't been able to narrow down what makes these machines different though. I've seen the problem appear (and not appear) on WinXP and Win7 (32 and 64-bit). My machine is win7 64-bit and the error doesn't appear. I have mixed users -- some get the error, some don't. The net result is that certain bits of pywin32 aren't usable. The users all have the pywin32 dll's in the correct places (SysWOW64 for 64-bit and System32 for 32-bit).
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Old Bugs - new issues at https://github.com/mhammond/pywin32/issues"
I believe the problem has to do with UAC settings. When the failure occurs, pywintypes31.dll is not copied to C:\WINDOWS\System32. Manually copying this DLL to this directory after installation fixes the installation and allows pywin32 modules to be imported.
I hope this helps.