i use win 10, python 3.5.2 , pywin32-220.win-amd64-py3.5 (all 64-bit). , python , pywin32 installed in default path. in case it's c:\users\xx\appdata\local\programs\python\python35
.
when import win32com.client
, error this:
traceback (most recent call last): file "<pyshell#1>", line 1, in <module> import win32com.client file "c:/users/xx/appdata/local/programs/python/python35/lib/site-packages/win32com/__init__.py", line 5, in <module> import win32api, sys, os importerror: dll load failed: specified module not found.
then searched in so, found solutions this.
when tried again, still going wrong.
traceback (most recent call last): file "c:/users/xx/appdata/local/programs/python/python35/lib/site-packages/win32com/__init__.py", line 82, in <module> setupenvironment() file "c:/users/xx/appdata/local/programs/python/python35/lib/site-packages/win32com/__init__.py", line 47, in setupenvironment __path__.append( win32api.getfullpathname( __path__[0] + "\\..\\win32comext") ) nameerror: name '__path__' not defined
any appreciated.
Comments
Post a Comment