error while import xlrd

Asked by rob

im getting the following error when i try to import xlrd. this traceback is from 1.0.1 but i had the same problem on 1.1.0:

>>> import xlrd
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\SikuliX\Lib\xlrd\__init__.py", line 397
    if peek == b"PK\x03\x04": # a ZIP file
               ^
SyntaxError: no viable alternative at input '"PK\x03\x04"'

any help would be appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
rob
Solved:
Last query:
Last reply:
Revision history for this message
rob (reg82) said :
#1

i think this is related to the fact that i was using java 6. installing java 7 resolved the issue.