[python-win32] ImportError: DLL load failed: The specified procedure could not be found.
vernondcole at gmail.com
Mon Jan 26 19:35:35 CET 2009
I'm going to do a little information thing here...
Active Python is a package put together by ActiveState. It is a commercial
product (with some licensing restrictions) that has both commercial and
community support. You can find support for that package at
As far as I know, it is simply a repackaging of two (perhaps more?) free
and open source packages, which you can download separately and which have
their own support mechanisms -- including the one you are using now.
Python is found at http://www.python.org/download/
and pywin32 is at http://sourceforge.net/projects/pywin32/
You might want to try downloading these original packages to see whether
your installation problems go away. In exchange for the additional
difficulty of downloading two packages, rather than only one, you have the
advantage of knowing that you will never have to pay for a redistribution
On Mon, Jan 26, 2009 at 10:28 AM, Liu, Donald (H USA) <
donald.liu at siemens.com> wrote:
> Hi Mark,
> Thanks for your reply. I ran "dir c:\Windows\system32\py*.dll", and got
> the following:
> C:\>dir Windows\system32\py*.dll
> Volume in drive C is System
> Volume Serial Number is F8F2-995F
> Directory of C:\Windows\system32
> 03/27/2008 06:12 PM 2,117,632 python25.dll
> 03/27/2008 06:13 PM 323,584 pythoncom25.dll
> 03/27/2008 06:13 PM 98,304 pywintypes25.dll
> 3 File(s) 2,539,520 bytes
> 0 Dir(s) 12,925,677,568 bytes free
> Looks like there's only one set of these files in the system32
> By the way, I only had problem with installation on the PC at work. My
> PC at home, which also has Windows XP, runs ActivePython with no
> problem. Unfortunately it's the PC at work that I'd like to make the
> installation work ...
> Thanks again,
> -----Original Message-----
> From: Mark Hammond [mailto:skippy.hammond at gmail.com]
> Sent: Friday, January 23, 2009 8:20 PM
> To: Liu, Donald (H USA)
> Cc: python-win32 at python.org
> Subject: Re: [python-win32] ImportError: DLL load failed: The specified
> procedure could not be found.
> On 24/01/2009 11:03 AM, Liu, Donald (H USA) wrote:
> > Hi. I'm new to Python. Just downloaded
> > ActivePython-184.108.40.206-win32-x86.msi and installed under "Microsoft
> > Windows XP Professional Version 2002 Service Pack 2".
> > When I click Start => Programs => ActiveState ActivePython2.5 =>
> > Pythonwin Editor, I got the "PythonWin" window opened with no problem.
> > However, when I try to open a file (by either typing ctrl+o, or using
> > the "open file icon", I run into the following error message:
> > PythonWin 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit
> > (Intel)] on win32.
> > Portions Copyright 1994-2006 Mark Hammond - see 'Help/About PythonWin'
> > for further copyright information.
> >>>> Traceback (most recent call last):
> > File "boot_com_servers.py", line 21, in<module>
> > File "C:\Python25\lib\site-packages\pythoncom.py", line 3,
> > pywintypes.__import_pywin32_system_module__("pythoncom",
> > File "C:\Python25\Lib\site-packages\win32\Lib\pywintypes.py", line
> > in __import_pywin32_system_module__
> > ('.dll', 'rb', imp.C_EXTENSION))
> > ImportError: DLL load failed: The specified procedure could not be
> > found.
> > Others seem to have ran into this problem before but I couldn't locate
> > solution.
> Check if you have copies of pywintypes25.dll and pythoncom25.dll in your
> system32 directory, and if so, that they are identical to the ones in
> your Python directory. If they are not, update the system32 ones with
> the python ones.
> This message and any included attachments are from Siemens Medical
> and are intended only for the addressee(s).
> The information contained herein may include trade secrets or privileged or
> otherwise confidential information. Unauthorized review, forwarding,
> copying, distributing, or using such information is strictly prohibited and
> be unlawful. If you received this message in error, or have reason to
> you are not authorized to receive it, please promptly delete this message
> notify the sender by e-mail with a copy to
> Central.SecurityOffice at siemens.com
> Thank you
> python-win32 mailing list
> python-win32 at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the python-win32