PiRSquared17 / winpython

Automatically exported from code.google.com/p/winpython
0 stars 0 forks source link

import win32api fails #78

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

1. I installed Winpython-64-bit-2.7.5.3 to C:\
2. cd C:\Winpython-64-bit-2.7.5.3
3. python-2.7.5.amd64\python.exe -c "import win32api"

I get:
ImportError: DLL load failed: The specified module could not be found

The problem is fixed if I copy pywintype27.dll to the folder from which I start 
python.exe

Original issue reported on code.google.com by rockspor...@gmail.com on 22 Aug 2013 at 12:00

GoogleCodeExporter commented 9 years ago
fix for python-3.3.2.amd64: copy pythoncom33.dll to any folder in the windows 
PATH

Original comment by sherdim on 26 Oct 2013 at 6:55

GoogleCodeExporter commented 9 years ago
This is looks like a dead issue but... I found that importing pythoncom before 
importing win32api allowed me to import with no issue.

Original comment by Brad.Hen...@gmail.com on 27 May 2014 at 12:53

GoogleCodeExporter commented 9 years ago
I've found that copying the DLLs from 'Lib\site-packages\pywin32_system32' in 
to 'Lib\site-packages\win32', this problem seems to go away. I'm not sure why 
they haven't been put there in the first place?

Original comment by matthew....@gmail.com on 15 Oct 2014 at 12:06