[pywin32-bugs] [ pywin32-Bugs-3528888 ] [solution inside] Windows 7 installation failure
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2012-05-22 17:37:29
|
Bugs item #3528888, was opened at 2012-05-22 10:37 Message generated for change (Tracker Item Submitted) made by class1o1 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3528888&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: installation Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: class101 (class1o1) Assigned to: Nobody/Anonymous (nobody) Summary: [solution inside] Windows 7 installation failure Initial Comment: If your installation of pywin32 on Windows 7 always end with close failed in file object destructor: sys.excepthook is missing lost sys.stderr This is maybe because you are running Windows under the "Administrator" account and anything you normally run is equal to a "run as Administrator" And paradoxically running the installation of pywin32 on Windows 7 as Administrator causes this error. So a workaround is to create another admin account net user Admin /add net user Admin <type your password> net localgroup Administrators Admin /add and then run the pywin32 installation with runas /user:Admin pywin32-217.win32-py2.7.exe ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3528888&group_id=78018 |