[pywin32-bugs] [ pywin32-Bugs-3476736 ] Install error in pywin32-216.win32-py2.6
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2012-07-05 06:00:21
|
Bugs item #3476736, was opened at 2012-01-20 12:08 Message generated for change (Comment added) made by guruglenn You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3476736&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: Closed Resolution: Out of Date Priority: 5 Private: No Submitted By: Prasanna (prapancham) Assigned to: Nobody/Anonymous (nobody) Summary: Install error in pywin32-216.win32-py2.6 Initial Comment: Hi, I am getting following error when trying to install pywin32-216.win32-py2.6 Traceback (most recent call last): File "<string>", line 604, in <module> File "<string>", line 314, in install File "<string>", line 152, in LoadSystemModule ImportError: DLL load failed: The specified module could not be found. I am on Win7 Enterprise 64 bit. First I installed the following: VC++ 2008 Redistributable -x86 9.0.21022 VC++ 2010 x64 Redistributable - 10.0.30319 Then I installed Python 2.6 ( I need to use python 2.6 ONLY) Then I am trying to install the above. But it fails. Please advise. regards, prasanna. ---------------------------------------------------------------------- Comment By: Glenn Linderman (guruglenn) Date: 2012-07-04 23:00 Message: Seems not to be... also seems to be lots of duplicate bugs for this symptom. The workaround suggested by openhatch didn't work for me, either... Python 3.3 64-bit. I get the same result running the script manually as the installer displays: Traceback (most recent call last): File "pywin32_postinstall.py", line 612, in <module> install() File "pywin32_postinstall.py", line 322, in install LoadSystemModule(lib_dir, "pywintypes") File "pywin32_postinstall.py", line 160, in LoadSystemModule ('.dll', 'rb', imp.C_EXTENSION)) File "c:\python33\lib\imp.py", line 181, in load_module raise ImportError(msg, name=name) ImportError: Don't know how to import pywintypes (type code 3 ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2012-05-15 20:40 Message: Should be fixed in build 217. ---------------------------------------------------------------------- Comment By: openhatch (openhatch) Date: 2012-05-15 19:25 Message: I got the same error, and this fix worked for me, installing on windows 7: 1. extract the installer file to a directory using the free 7zip (or similar) program 2. Copy everything in the PLATLIB directory to C:\Python26\Lib\site-packages 3. open a command prompt to the SCRIPT directory and type: python pywin32_postinstall.py -install You must have Python already installed (perhaps obviously) and in your windows PATH environment variable for this to work. You can also try the testall script in that directory, though for me it hung and I was able to import pywin32 modules from the Python IDLE just fine. From looking around the web for solutions to this error, it seems the cause may be a script not finding a dll file. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3476736&group_id=78018 |