[python-win32] ImportError: DLL load failed
Mark Hammond
skippy.hammond at gmail.com
Mon Jul 16 08:42:36 CEST 2012
My only other guess is that the C runtime DLLs are missing - msvcr90.dll
et al. If they seem to be in place, try grabbing the "depends" module
from the MS sysinternals site and see what it reports.
Cheers,
Mark
On 14/07/2012 3:07 AM, Jane Chen wrote:
> Hi Mark,
>
> Thank you for your reply. I copied pywintypes26.dll and pythoncom26 next
> to python.exe. and still got the same error message. I printed out the
> sys.path and it includes xx\python, xx\python\lib,
> xx\python\lib\site-packages,xx\python\lib\site-packages\win32,
> xx\python\lib\site-packages\win32\ lib, and
> xx\python\lib\site-packages\Pythonwin.
>
> Regards,
> Jane
>
> ------------------------------------------------------------------------
> *From:* Mark Hammond <skippy.hammond at gmail.com>
> *To:* Jane Chen <janechen_1979 at yahoo.com>
> *Cc:* "python-win32 at python.org" <python-win32 at python.org>
> *Sent:* Thursday, July 12, 2012 6:39 PM
> *Subject:* Re: [python-win32] ImportError: DLL load failed
>
> 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
>
> >
> > OS: win xp
> > version: pywin32-217
> >
> > Thanks,
> > Jane
> >
> >
> > _______________________________________________
> > python-win32 mailing list
> > python-win32 at python.org <mailto:python-win32 at python.org>
> > http://mail.python.org/mailman/listinfo/python-win32
> >
>
>
>
>
>
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
More information about the python-win32
mailing list