Mark Hammond <skippy.hammond <at> gmail.com> writes: > > On 13/07/2012 10:45 AM, Jane Chen wrote: > > Hi all, > > > > I would like to add python win32 to Portable Python distribution with > > PyGTK for Windows > > http://fnch.users.sourceforge.net/portablepygtkwindows.html > > I installed the pywin32 in the python\Lib\site-packages folder. PC #1 > > can find win32api.pyd. After that, I copied the whole portable python > > distribution folder to PC#2. I got the following message: > > import win32file, win32api > > ImportError: DLL load failed: The specified module could not be found. > > > > Can anyone please help me with this issue? > > I'm guessing that pywintypes27.dll and pythoncom27.dll aren't anywhere > on the PATH on PC#2 - try copying them next to python.exe. > > HTH, > > Mark >
This was the answer for me. I had tried moving the .pyd files next to the .exe, but you had the answer Mark. When I saw your response I had already searched through enough forum to recognize your name and know your were the THE guy. Thanks for your time skill and willingness to share your code and knowledge. _______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32