[issue21050] Failure to import win32api (from pywin32)

Brett Cannon report at bugs.python.org
Mon Mar 24 16:49:40 CET 2014


Brett Cannon added the comment:

For those that don't read German, the exception says "The specified module could not be found".

Anyway, what looks suspicious to me is this line that gets imported by pywintypes:

# extension module loaded from 'C:\\Python34\\lib\\site-packages\\win32\\_win32sysloader.pyd'

That module's name suggests it might be critical. I also wonder what is going on with your sys.path as pywintypes is coming from site-packages\win32\lib\pywintypes.py while win32api is coming from site-packages\\win32\\win32api.pyd (notice how pywintypes is in some lib subidrectory and win32api is not). That suggests to me that something is mucking with sys.path somewhere to make this require the ordering.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21050>
_______________________________________


More information about the Python-bugs-list mailing list