Cannot open xlrd module in Sikuli
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi, I am using Sikuli tool in Window 7.
I am start to use sikuli before two week, I have some work copy cell string or number from Excel 2013 to paste Other application.
seen last 2 days i am trying to Import "xldr" in Sikuli. But I cant I read all previous comments and problem on same issue . i am trying
all ways copy xldr(try version 1.0 .1 and 0.9.3) folder paste in install directory /sikuli x/ libs , also give path using
in your script add:
dir_xlrd = "absolute path to the xlrd directory"
if not dir_xlrd in sys.path: sys.path.
import xlrd
I am install JRE7U84 but still not solve
i wright code only
import xldr
it show same error
>>> import xlrd
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\SikuliX\
if peek == b"PK\x03\x04": # a ZIP file
^
SyntaxError: no viable alternative at input '"PK\x03\x04"'
please help It too important for me I am stuck on that be appreciated.......
Changed in sikuli: | |
status: | New → Confirmed |
use latest SikuliX version 1.1.1, which has xlrd bundled.
so simply using
import xlrd
should work.
be sure to setup with Jython 2.7.