Menu

#612 pywin32-217.win-amd64-py3.3.exe installer fails

closed-fixed
nobody
5
2012-11-24
2012-09-09
markt
No

I'm using Windows 7, Python 3.3rc2-amd64. Near the end of the installation:

Traceback (most recent call last):
File "<string>", line 612, in <module>
File "<string>", line 322, in install
File "<string>", line 160, in LoadSystemModule
File "D:\dev\python33\lib\imp.py", line 158, in load_module
raise ValueError(msg)
ValueError: file object required for import (type code 3)

This may actually be a Python bug. the import system has had issues with Python 3.3 specifically with "type code 3". See http://bugs.python.org/issue15828 which was recently fixed.

Discussion

  • Paul Moore

    Paul Moore - 2012-09-10

    The problem is that (according to the patch for the quoted issue) load_module does not allow None for the file object - presumably this is a regression in Python.

    I've added a comment to the referenced issue, noting the regression.

     
  • Paul Moore

    Paul Moore - 2012-09-10

    Apparently pywin32 tip has a fix for this. So presumably, the next release will be fine.

     
  • Mark Hammond

    Mark Hammond - 2012-11-24

    Build 218 should work fine with 3.3

     
  • Mark Hammond

    Mark Hammond - 2012-11-24
    • status: open --> closed-fixed