sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #49993
Re: [Question #677361]: How do i import python modules into sikuliX script ?
Question #677361 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/677361
Status: Open => Answered
RaiMan proposed the following answer:
Python libs can only be imported into SikuliX, if they are completely written in plain Python.
If they rely on any C-based components (native libraries), they cannot be imported.
The reason behind: the scripting language is Python, but we use the Java
based Jython interpreter (language level 2.7).
cv2 definitely and matplotlib most probably are candidates for being
non-importable (C-based stuff contained).
What is your intention?
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.