我尝试在mac上使用xlwings(10.11.5)和Excel 2016 for mac(版本15.23.2),但我很快就被卡住了。在
当我跑的时候
xlwings runpython安装
我得到以下错误:$ xlwings runpython install
Traceback (most recent call last):
File "/usr/local/bin/xlwings", line 7, in
from xlwings.command_line import main
File "/Library/Python/2.7/site-packages/xlwings/command_line.py", line 22, in
hfs_to_posix_path(app('Microsoft Excel').properties().get(k.templates_path))))
File "/Library/Python/2.7/site-packages/aeosa/appscript/reference.py", line 577, in __getattr__
selectortype, code = self.AS_appdata.referencebyname()[name]
File "/Library/Python/2.7/site-packages/aeosa/appscript/reference.py", line 259, in referencebyname
self.connect()
File "/Library/Python/2.7/site-packages/aeosa/appscript/reference.py", line 225, in connect
t &