← Back to team overview

sikuli-driver team mailing list archive

[Question #222631]: Sikuli : XLRD - AttributeError: 'module' object has no attribute 'open_workbook

 

New question #222631 on Sikuli:
https://answers.launchpad.net/sikuli/+question/222631

I have downloaded & copied the xlrd folder contens into C:\Program Files\Sikuli X\Lib

But while running the 2 liner script in Sikuli - am getting AttributeError: 'module' object has no attribute 'open_workbook

import xlrd
book = xlrd.open_workbook("D:\\newfortest.xlsx")
print book

[error] An error occurs at line 2
[error] Error message: Traceback (most recent call last):
 File "C:\Users\Name~1.APP\AppData\Local\Temp\sikuli-tmp6698312592898845633.py", line 2, in 
 book = xlrd.open_workbook("D:\\newfortest.xlsx")

AttributeError: 'module' object has no attribute 'open_workbook

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.