Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
BOOK_CALLER missing from xlwings/_xlmac.py #1035
OS (e.g. Windows 10 or macOS Sierra)
MacOS High Sierra 10.13.6
Versions of xlwings, Excel and Python (e.g. 0.11.8, Office 365, Python 3.7)
$ pip show xlwings
Describe your issue (incl. Traceback!)
Traceback (most recent call last): File "<string>", line 1, in <module> File "/Users/kissig/myproject/myproject.py", line 5, in hello_xlwings wb = xw.Book.caller() File "/usr/local/lib/python3.7/site-packages/xlwings/main.py", line 567, in caller elif xlplatform.BOOK_CALLER: AttributeError: module 'xlwings._xlmac' has no attribute 'BOOK_CALLER'
Include a minimal code sample to reproduce the issue (and attach a sample workbook if required!)
BOOK_CALLER is missing from https://github.com/ZoomerAnalytics/xlwings/blob/master/xlwings/_xlmac.py . It's present in https://github.com/ZoomerAnalytics/xlwings/blob/master/xlwings/_xlwindows.py .