I have been stuck for some time. My configuration is: python 3.5
, xlwings 0.5.0
and Windows 7
. I get the following traceback while trying to import xlwings
:
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Program Files\Python 3.5\lib\site-packages\xlwings\__init__.py", line 20, in <module> from . import _xlwindows as xlplatform File "C:\Program Files\Python 3.5\lib\site-packages\xlwings\_xlwindows.py", line 15, in <module> import pywintypes File "C:\Program Files\Python 3.5\lib\site-packages\win32\lib\pywintypes.py", line 124, in <module> __import_pywin32_system_module__("pywintypes", globals()) File "C:\Program Files\Python 3.5\lib\site-packages\win32\lib\pywintypes.py", line 117, in __import_pywin32_system_module__ assert sys.modules[modname] is not old_mod AssertionError
After some search on the internet, my understanding is that the problem comes from pywin32 'known problems', but I am not sure what it is all about. Can you help, please?