python - xlwings attempts to start Windows version of Excel on mac -


i found xlwings , tried run through of quick start. running wb = workbook() generates error shown below.

i'm running os x v10.10.3 parallels. have windows 7 excel 2013 running under parallels. have excel 2011 mac installed also. if open excel workbook on mac runs excel 2011 (default). when try wb = workbook() using xlwings launches parallels , excel 2013.

i tried replacing app('microsoft excel') full path still error , attempt run parallels.

please help. begin error

--------------------------------------------------------------------------- keyerror                                  traceback (most recent call last) /users/wileythomas/anaconda/lib/python3.4/site-packages/aeosa/appscript/reference.py in __getattr__(self, name)     574                 try: --> 575                         selectortype, code = self.as_appdata.referencebyname()[name]     576                 except keyerror e:  keyerror: 'make'  above exception direct cause of following exception:  attributeerror                            traceback (most recent call last) <ipython-input-10-4a3c36eb9bf9> in <module>() ----> 1 wb = workbook()  /users/wileythomas/anaconda/lib/python3.4/site-packages/xlwings/main.py in __init__(self, fullname, xl_workbook, app_visible)     139         else:     140             # open excel if necessary , create new workbook --> 141             self.xl_app, self.xl_workbook = xlplatform.new_workbook()     142      143         self.name = xlplatform.get_workbook_name(self.xl_workbook)  /users/wileythomas/anaconda/lib/python3.4/site-packages/xlwings/_xlmac.py in new_workbook()     115         # if running, create new 1 excel unfortunately calls "sheet1".     116         # it's feature though: see p.14 on excel 2004 applescript reference --> 117         xl_workbook = xl_app.make(new=kw.workbook)     118     else:     119         xl_workbook = xl_app.workbooks[1]  /users/wileythomas/anaconda/lib/python3.4/site-packages/aeosa/appscript/reference.py in __getattr__(self, name)     575                         selectortype, code = self.as_appdata.referencebyname()[name]     576                 except keyerror e: --> 577                         raise attributeerror("unknown property, element or command: {!r}".format(name)) e     578                 if selectortype == kproperty:     579                         return reference(self.as_appdata, self.as_aemreference.property(code))  attributeerror: unknown property, element or command: 'make' 


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -