[pywin32-bugs] [ pywin32-Bugs-3530195 ] errors towards the end of installation.
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2012-11-26 21:57:16
|
Bugs item #3530195, was opened at 2012-05-28 01:37 Message generated for change (Comment added) made by hasenpfeffer2 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3530195&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: 3860654 () Assigned to: Nobody/Anonymous (nobody) Summary: errors towards the end of installation. Initial Comment: While trying to install pywin32-217.win-amd64-py2.6.exe, I get following errors towards the end of installation. Traceback (most recent call last): File "<string>", line 612, in <module> File "<string>", line 322, in install File "<string>", line 160, in LoadSystemModule ImportError: DLL load failed: The specified module could not be found. ---------------------------------------------------------------------- Comment By: hasenpfeffer2 (hasenpfeffer2) Date: 2012-11-26 13:57 Message: I found some more information about my problems related to post install script failures I was experiencing. The most interesting is that the installer does not seem to work when the logged-in account is not a local account. I am a member of Administrators on my machine, but my account is a network account, and the post install script always fails at the end of the installer with a sys.stderr not found and such. By creating a local Admin account and using that account to start the installer, then the post install script works. Can a change be made to allow non-local administrator accounts work? I believe my original problems were not related to installing VS2008 now. I had caused most of my problems by using a custom pythonxx.dll that did not include the correct manifest for VS2008 dlls. Once I started using the shipping pythonxx.dll, then things worked mostly as expected, except for the above non-local admin problem. Incidentally, I also found that having the pythonxx.dll in the same folder as the pywin32....exe installer caused my administrator problem to go away as well. So, normally I always get the sys.stderr missing failure. If the pythonxx.dll is in the same folder as the installer executable, then the post install script works fine even under a non-local admin account. ---------------------------------------------------------------------- Comment By: hasenpfeffer2 (hasenpfeffer2) Date: 2012-11-21 08:22 Message: I'll try adding on to this instead of making a new one... I have gotten the DLL load failed error in all runs of the pywin32 win32 installer I have ever done. This is on many different machines, with different Windows versions. The post install script has never worked within the installer. I got around the problem by running the post install script manually on the cmd line with the -install parameter. This has always worked. Then one day I happen to install VS2008 Express Edition to do some development work with Python. Ever since I installed VS2008, the post install script now runs properly at the end of the installer. I uninstalled VS2008 to see how the installer would react. I now get a sys.excepthook missing and stderr not found error. Though, I suspect, it was trying to print the DLL load failed exception and couldn't. Just speculation, though. I would recommend someone try using the installer on a system that has never had VS2008 installed and see if the DLL load failed error can be reproduced. ---------------------------------------------------------------------- Comment By: D-Mac (dcmacleo) Date: 2012-10-28 13:38 Message: OK, got ambitious and looked it up myself! ;) Here's what worked for me for others: http://forums.arcgis.com/threads/33808-PyWin32-212.win32-py2.6-silent-install ---------------------------------------------------------------------- Comment By: D-Mac (dcmacleo) Date: 2012-10-28 13:18 Message: I get this install error with 217 on both Vista 32 and 64, w/ 32bit Python 2.6 on both. Is there a manual install method? I'd like to use the library very much. Thanks. ---------------------------------------------------------------------- Comment By: Glenn Linderman (guruglenn) Date: 2012-07-06 02:05 Message: Build 217.1 works for me. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2012-07-06 00:14 Message: I put a build up at http://starship.python.net/~skippy/downloads/pywin32-217.1.win-amd64-py3.3.exe - it works for me here, but it would be great if anyone experiencing this problem could test it out. It is being slow to upload, so give it 30 mins after this message was posted - the filesize is 8,441,923. I'll make a real release soon... ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2012-07-05 00:36 Message: These problems all appear to be specific to 3.3. Sadly pywin32-217 was built with vc2008 where 3.3 recently moved to vs2010. I'm looking into it... ---------------------------------------------------------------------- Comment By: Glenn Linderman (guruglenn) Date: 2012-07-04 23:28 Message: Just for kicks, I added a print statement in LoadSystemModule in pywin32_postinstall.py, and the module it cannot load, on my system, is c:\python33\Lib\site-packages\pywin32_system32\pywintypes33.dll This probably doesn't surprise you since that is what the comments imply... The file exists in that location. Is there something else I can do to help debug this problem? ---------------------------------------------------------------------- Comment By: Glenn Linderman (guruglenn) Date: 2012-07-04 18:13 Message: I get the same error trying to install pywin32-217.win-amd64-py3.3.exe ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3530195&group_id=78018 |