Issue importing Python package xmlrunner

Asked by Ali Ahmed on 2020-12-31

I'm getting this error message when I try to run sikuli script. I'm geting this error message saying that " import xmlrunner ImportError: No module named xmlrunner ". But I've installed xmlrunner using pip.

Question information

English Edit question
SikuliX Edit question
No assignee Edit question
Last query:
Last reply:
RaiMan (raimund-hocke) said : #1


Be aware: Only Python packages that do not contain native code and completely are written in plain Python language might work with the Java based Jython used by SikuliX. On top a package must be compatible with language level 2.7 (3.0+ not supported).

Ali Ahmed (ali13xii) said : #2

So I downgraded Python to 2.7 but I'm still facing issue. Also I am running it in Sikuli IDE

Ali Ahmed (ali13xii) said : #3

Also I'm having the same issue using HtmlTestrunner import

RaiMan (raimund-hocke) said : #4

--- downgraded Python to 2.7
Not sure, what you are talking about.

With SikuliX the Python language (level 2.7) interpreter is the Java based Jython package (see download page)

... for the rest see your other question.

Can you help with this problem?

Provide an answer of your own, or ask Ali Ahmed for more information if necessary.

To post a message you must log in.