以下是我导入时的错误消息:
>>> from xlwings import workbook, range
Traceback (most recent call last):
File "<pyshell#7>", line 1, in <module>
from xlwings import workbook, range
File "C:\Users\user\AppData\Local\Programs\Python\Python35\lib\site-packages\xlwings\__init__.py", line 20, in <module>
from . import _xlwindows as xlplatform
File "C:\Users\user\AppData\Local\Programs\Python\Python35\lib\site-packages\xlwings\_xlwindows.py", line 10, in <module>
import win32api
ImportError: No module named 'win32api'
我尝试过 Python 3.5 和 2.7.10,但都没有运气。