Re: [Sikuli-driver] [Question #233667]: xlrd open workbook module not found
Question #233667 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233667 Status: Open = Answered RaiMan proposed the following answer: --1. xlrd 0.9 definitely does not work with Sikuli (neither RC3 (Jython 2.5.2) nor version 1.0.1 (Jython 2.5.4), since it contains features of Python language level 2.5+ (BTW: this is mentioned on the download page) --2. xlrd 0.7.9 definitely works -3. how to easily use it with Sikuli: - download the only needed stuff (I have extracted it for you) as zip from: https://dl.dropboxusercontent.com/u/42895525/xlrd.zip - unzip - this will make the needed folder xldd (which also contains docs and examples) - make sure you have a folder C:\Program Files (x86)\Sikuli X\Lib - copy the folder xlrd to C:\Program Files (x86)\Sikuli X\Lib It does not make sense to pollute your system path additionally with python or Sikuli related path's: Jython does not look into system path at all. The folder Lib you created is a standard folder, known by the running Sikuli Jython (as you can see by using for e in sys.path: print e at the beginning or only line in a Sikuli script) I tested this and it works. --4. filenames in Windows ... ... containing backslashes must handled specially - double the backslashes - use raw string rpath with backslashes - or use forward slashes instead of backslashes -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #233667]: xlrd open workbook module not found
Question #233667 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233667 Status: Answered = Open mach81 is still having a problem: I have downloaded Sikuli from here - https://launchpad.net/sikuli/+download Sikuli-IDE-1.0.0-Win64.zip Unzipped the files and am currently using sikuli-ide.cmd to run Sikuli. No folder C:\Program Files (x86)\Sikuli X\Lib has been created. It would be great if you can let me know where I am going wrong with the installation. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #233667]: xlrd open workbook module not found
Question #233667 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233667 Status: Answered = Solved mach81 confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #233667]: xlrd open workbook module not found
Question #233667 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233667 Status: Answered = Open mach81 is still having a problem: I did the following 1) Created new folder Lib 2) Added the same to the system path But when I try to run this script import xlrd workbook = xlrd.open_workbook('C:\my_workbook.xls') print workbook.sheet_names() I get this error error] script [ ChkExcel ] stopped with error in line 3 [error] 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. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #233667]: xlrd open workbook module not found
Question #233667 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233667 Status: Open = Answered RaiMan proposed the following answer: Uuups,sorry for misleading. It must be the folder xlrd - the one, that contains the __init__.py. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #233667]: xlrd open workbook module not found
Question #233667 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233667 Status: Open = Answered RaiMan proposed the following answer: The folder to use must be: C:\Program Files (x86)\Sikuli X\Lib (it does not exist yet) ... and what you have to put there is the file xlrd.py you have to step down a bit into the package xlrd ;-) BTW: Sikuli has nothing to do with the C-based Python. The fact, that something works with Python is not really relevant. It might work with Jython or it might not work. And the Python stuff install procedures are not useable with Sikuli/Jython. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #233667]: xlrd open workbook module not found
Question #233667 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233667 Status: Answered = Open mach81 is still having a problem: Where exactly is xlrd.pyits not in the xlrd module folder -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp