[python-win32] Can't see Python27.dll on Win 7

2010-11-23 Thread Bill Janssen
Hi. I'm trying to install PyLucene using MinGW on Windows 7. It keeps failing when it tries to load the _jcc.pyd module (JCC is the compiler which wraps the Java Lucene library as a Python module). It fails with the notorious c:\Python27\python.exe: DLL load failed: The specified module could

Re: [python-win32] Can't see Python27.dll on Win 7

2010-11-23 Thread Tim Roberts
Bill wrote: So I went to look in c:/Windows/System32/, and sure enough, there it is: $ file /c/Windows/System32/python27.dll /c/Windows/System32/python27.dll: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit $ On 64-bit Windows, 32-bit DLLs need to be installed in

Re: [python-win32] Can't see Python27.dll on Win 7

2010-11-23 Thread Bill Janssen
Tim Roberts t...@probo.com wrote: Bill wrote: So I went to look in c:/Windows/System32/, and sure enough, there it is: $ file /c/Windows/System32/python27.dll /c/Windows/System32/python27.dll: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit $ On 64-bit Windows, 32-bit

Re: [python-win32] Can't see Python27.dll on Win 7

2010-11-23 Thread Tim Roberts
Bill Janssen wrote: So, if I cd to /c/Windows/System32, and do ls -l python27.dll, it's really looking at /c/Windows/SysWOW64 instead? That's why I see it with msys's ls and file, but not with cmd.exe and dir, or depends.exe? Yes, although depends should be smart enough to find it, assuming

Re: [python-win32] Can't see Python27.dll on Win 7

2010-11-23 Thread Bill Janssen
Tim Roberts t...@probo.com wrote: Bill Janssen wrote: So, if I cd to /c/Windows/System32, and do ls -l python27.dll, it's really looking at /c/Windows/SysWOW64 instead? That's why I see it with msys's ls and file, but not with cmd.exe and dir, or depends.exe? Yes, although depends

Re: [python-win32] Can't see Python27.dll on Win 7

2010-11-23 Thread Tim Roberts
Bill Janssen wrote: I'm trying to install PyLucene using MinGW on Windows 7. It keeps failing when it tries to load the _jcc.pyd module (JCC is the compiler which wraps the Java Lucene library as a Python module). It fails with the notorious c:\Python27\python.exe: DLL load failed: The