Ahha!<br> You are not having a problem with Python, as such. You are having a problem with Bazaar. I tried running bazaar from source some while ago, but had to download a lot of extra modules for it, so I have gotten lazy and just use the version from the windows installer. I am now running bazaar 1.11 alongside Python 2.6 with no problems. Download from<br>
<a href="http://bazaar-vcs.org/Download">http://bazaar-vcs.org/Download</a><br><br>Also, unless you have a specific reason for using Python 2.5, I suggest that you upgrade to 2.6.<br>--<br>Vernon<br><br><div class="gmail_quote">
On Mon, Jan 26, 2009 at 12:17 PM, Liu, Donald (H USA) <span dir="ltr"><<a href="mailto:donald.liu@siemens.com">donald.liu@siemens.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font size="2" color="#800080" face="Arial">Vernon,</font></span></div>
<div dir="ltr" align="left"><span><font size="2" color="#800080" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font size="2" color="#800080" face="Arial">Thanks for the tip, which I followed, but the result was
not good yet. [I'm inclined to think that there's something wrong with my PC at
work, but it's beyond me to figure out what. I upgraded to Windows XP Pro
Service Pack 3.]</font></span></div>
<div dir="ltr" align="left"><span><font size="2" color="#800080" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font size="2" color="#800080" face="Arial">I downloaded python-2.5.4.msi from <a href="http://python.org" target="_blank">python.org</a>, and
pywin32-212.win32-py2.5.exe from <a href="http://sourceforge.net" target="_blank">sourceforge.net</a>, using the links you
provided. </font></span><span><font size="2" color="#800080" face="Arial">Then I installed python followed by pywin32. When I
run Pythonwin and try to open a file, I got the following (different) error
message:</font></span></div>
<div dir="ltr" align="left"><span><font size="2" color="#800080" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font size="2" color="#800080" face="Arial">PythonWin 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC
v.1310 32 bit (Intel)] on win32.<br>Portions Copyright 1994-2008 Mark Hammond -
see 'Help/About PythonWin' for further copyright information.<div class="Ih2E3d"><br>>>>
Traceback (most recent call last):<br></div> File "boot_com_servers.py", line
44, in <module><br> File "tbzr.pyo", line 124, in
<module><br> File "tbzr.pyo", line 61, in
get_all_com_classes<br> File "contextmenu.pyo", line 9, in
<module><br>ImportError: No module named shell<br>Redirecting output to
win32trace remote collector</font></span></div>
<div dir="ltr" align="left"><span><font size="2" color="#800080" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font size="2" color="#800080" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font size="2" color="#800080" face="Arial">The files in system32 are</font></span></div>
<div dir="ltr" align="left"><span><font size="2" color="#800080" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font size="2" color="#800080" face="Arial">C:\Python25>dir /s
\windows\system32\py*.dll<div class="Ih2E3d"><br> Volume in drive C is System<br> Volume
Serial Number is F8F2-995F</div></font></span></div>
<div><font size="2" color="#800080" face="Arial"></font> </div>
<div dir="ltr" align="left"><span><font size="2" color="#800080" face="Arial"> Directory of C:\windows\system32</font></span></div>
<div><font size="2" color="#800080" face="Arial"></font> </div>
<div dir="ltr" align="left"><span><font size="2" color="#800080" face="Arial">12/23/2008 03:10
PM 2,117,632
python25.dll<br>07/27/2008 03:27
PM 339,968
pythoncom25.dll<br>07/27/2008 03:23
PM 114,688
pywintypes25.dll<br>
3 File(s) 2,572,288 bytes</font></span></div>
<div dir="ltr" align="left"><span><font size="2" color="#800080" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font size="2" color="#800080" face="Arial"></font></span> </div>
<div><span></span><font face="Arial"><font color="#800080"><font size="2">The files in c:\python25 are</font></font></font></div>
<div><font size="2" color="#800080" face="Arial"></font> </div>
<div><font size="2" color="#800080" face="Arial">C:\Python25>dir /s
py*.dll<div class="Ih2E3d"><br> Volume in drive C is System<br> Volume Serial Number is
F8F2-995F</div></font></div>
<div><font size="2" color="#800080" face="Arial"></font> </div>
<div><font size="2" color="#800080" face="Arial"> Directory of
C:\Python25\Lib\site-packages\isapi</font></div>
<div><font size="2" color="#800080" face="Arial"></font> </div>
<div><font size="2" color="#800080" face="Arial">01/26/2009 11:05
AM 37,888
PyISAPI_loader.dll<br>
1 File(s) 37,888
bytes</font></div>
<div><font size="2" color="#800080" face="Arial"></font> </div>
<div><font size="2" color="#800080" face="Arial"> Directory of
C:\Python25\Lib\site-packages\pywin32_system32</font></div>
<div><font size="2" color="#800080" face="Arial"></font> </div>
<div><font size="2" color="#800080" face="Arial">01/26/2009 11:05
AM 339,968
pythoncom25.dll<br>01/26/2009 11:05
AM 114,688
pywintypes25.dll<br>
2 File(s) 454,656
bytes</font></div><font face="Arial"><font color="#800080"><font size="2"><span></span></font></font></font><font size="2" color="#800080" face="Arial"></font>
<div><font size="2" color="#800080" face="Arial"></font><font size="2" color="#800080" face="Arial"></font><br><span><font size="2" color="#800080" face="Arial">Thanks,</font></span></div>
<div><span><font size="2" color="#800080" face="Arial">Donald</font></span></div>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font size="2" face="Tahoma"><b>From:</b> Vernon Cole [mailto:<a href="mailto:vernondcole@gmail.com" target="_blank">vernondcole@gmail.com</a>]
<br><b>Sent:</b> Monday, January 26, 2009 10:36 AM<div class="Ih2E3d"><br><b>To:</b> Liu, Donald (H
USA)<br></div><b>Cc:</b> <a href="mailto:mhammond@skippinet.com.au" target="_blank">mhammond@skippinet.com.au</a>;
<a href="mailto:python-win32@python.org" target="_blank">python-win32@python.org</a><div><div></div><div class="Wj3C7c"><br><b>Subject:</b> Re: [python-win32] ImportError: DLL
load failed: The specified procedure could not be found.<br></div></div></font><br></div><div><div></div><div class="Wj3C7c">
<div></div>Donald:<br> I'm going to do a little information thing
here...<br>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 <a href="http://www.activestate.com/support/" target="_blank">http://www.activestate.com/support/</a>
. <br><br> 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.
<br><br>Python is found at <a href="http://www.python.org/download/" target="_blank">http://www.python.org/download/</a><br>and
pywin32 is at <a href="http://sourceforge.net/projects/pywin32/" target="_blank">http://sourceforge.net/projects/pywin32/</a><br><br>
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
license.<br>--<br>Vernon Cole<br><br><br>
<div class="gmail_quote">On Mon, Jan 26, 2009 at 10:28 AM, Liu, Donald (H USA)
<span dir="ltr"><<a href="mailto:donald.liu@siemens.com" target="_blank">donald.liu@siemens.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
Mark,<br><br>Thanks for your reply. I ran "dir
c:\Windows\system32\py*.dll", and got<br>the following:<br><br>C:\>dir
Windows\system32\py*.dll<br> Volume in drive C is System<br> Volume
Serial Number is F8F2-995F<br><br> Directory of
C:\Windows\system32<br><br>03/27/2008 06:12 PM
2,117,632 python25.dll<br>03/27/2008 06:13 PM
323,584 pythoncom25.dll<br>03/27/2008 06:13 PM
98,304 pywintypes25.dll<br>
3 File(s)
2,539,520 bytes<br> 0
Dir(s) 12,925,677,568 bytes free<br><br>Looks like there's only one set
of these files in the system32<br>directory.<br><br>By the way, I only had
problem with installation on the PC at work. My<br>PC at home, which
also has Windows XP, runs ActivePython with no<br>problem. Unfortunately
it's the PC at work that I'd like to make the<br>installation work
...<br><br>Thanks again,<br><font color="#888888">Donald<br></font>
<div>
<div></div>
<div><br>-----Original Message-----<br>From: Mark Hammond
[mailto:<a href="mailto:skippy.hammond@gmail.com" target="_blank">skippy.hammond@gmail.com</a>]<br>Sent:
Friday, January 23, 2009 8:20 PM<br>To: Liu, Donald (H USA)<br>Cc: <a href="mailto:python-win32@python.org" target="_blank">python-win32@python.org</a><br>Subject:
Re: [python-win32] ImportError: DLL load failed: The specified<br>procedure
could not be found.<br><br>On 24/01/2009 11:03 AM, Liu, Donald (H USA)
wrote:<br>> Hi. I'm new to Python. Just downloaded<br>>
ActivePython-2.5.2.2-win32-x86.msi and installed under "Microsoft<br>>
Windows XP Professional Version 2002 Service Pack 2".<br>><br>> When I
click Start => Programs => ActiveState ActivePython2.5
=><br>> Pythonwin Editor, I got the "PythonWin" window opened with no
problem.<br>> However, when I try to open a file (by either typing ctrl+o,
or using<br>> the "open file icon", I run into the following error
message:<br>><br>> PythonWin 2.5.2 (r252:60911, Mar 27 2008, 17:57:18)
[MSC v.1310 32 bit<br>> (Intel)] on win32.<br>> Portions Copyright
1994-2006 Mark Hammond - see 'Help/About PythonWin'<br>> for further
copyright information.<br>>>>> Traceback (most recent call
last):<br>> File "boot_com_servers.py", line 21,
in<module><br>> File
"C:\Python25\lib\site-packages\pythoncom.py", line
3,<br>in<module><br>>
pywintypes.__import_pywin32_system_module__("pythoncom",<br>globals())<br>>
File "C:\Python25\Lib\site-packages\win32\Lib\pywintypes.py",
line<br>98,<br>> in __import_pywin32_system_module__<br>>
('.dll', 'rb', imp.C_EXTENSION))<br>> ImportError: DLL load failed:
The specified procedure could not be<br>> found.<br>><br>> Others
seem to have ran into this problem before but I couldn't locate<br>a<br>>
solution.<br><br>Check if you have copies of pywintypes25.dll and
pythoncom25.dll in your<br><br>system32 directory, and if so, that they are
identical to the ones in<br>your Python directory. If they are not,
update the system32 ones with<br>the python
ones.<br><br>Cheers,<br><br>Mark<br><br></div></div>
<div>----------------------------------------------------------------------------<br>This
message and any included attachments are from Siemens Medical Solutions<br>and
are intended only for the addressee(s).<br>The information contained herein
may include trade secrets or privileged or<br>otherwise confidential
information. Unauthorized review, forwarding, printing,<br>copying,
distributing, or using such information is strictly prohibited and may<br>be
unlawful. If you received this message in error, or have reason to
believe<br>you are not authorized to receive it, please promptly delete this
message and<br>notify the sender by e-mail with a copy to <a href="mailto:Central.SecurityOffice@siemens.com" target="_blank">Central.SecurityOffice@siemens.com</a><br><br>Thank
you<br>_______________________________________________<br></div>
<div>
<div></div>
<div>python-win32 mailing list<br><a href="mailto:python-win32@python.org" target="_blank">python-win32@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/python-win32" target="_blank">http://mail.python.org/mailman/listinfo/python-win32</a><br>
</div></div></blockquote></div><br></div></div></div><div><div></div><div class="Wj3C7c">
<table><tbody><tr><td bgcolor="#ffffff"><font color="#000000"><pre>----------------------------------------------------------------------------
This message and any included attachments are from Siemens Medical Solutions
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, printing,
copying, distributing, or using such information is strictly prohibited and may
be unlawful. If you received this message in error, or have reason to believe
you are not authorized to receive it, please promptly delete this message and
notify the sender by e-mail with a copy to <a href="mailto:Central.SecurityOffice@siemens.com" target="_blank">Central.SecurityOffice@siemens.com</a>
Thank you</pre></font></td></tr></tbody></table>
</div></div></blockquote></div><br>