← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #188386]: getting error - AttributeError: 'javapackage' object has no attribute 'open_workbook'

 

Question #188386 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/188386

    Status: Open => Answered

RaiMan proposed the following answer:
Seems strange.

AttributeError: 'javapackage' object has no attribute 'open_workbook'

xlrd is a Python package. installed xlrd-0.7.1.win32.msi installed it
for local Python, where it is not directly useable for Sikuli.

How comes you are getting a "java" message?  Using Sikuli IDE?

make a folder Lib in Sikuli's installation directory and copy the folder xlrd (containing the module's .py files and an __init__.py) from the zipped download to this folder.
Since Sikuli.../Lib is already in sys.path, import xlrd should work.

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