sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #48033
Re: [Question #672153]: Using pyodbc with Sikuli
Question #672153 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/672153
Status: Open => Answered
RaiMan proposed the following answer:
Since SikuliX internally uses the Java based Jython interpreter
(language level 2.7), only pure python-language modules can be used from
a C-Python installation.
If a C-Python module needs any support off C-based stuff (packed as dll-libs), then this will lead to an import error.
Those modules are simply not useable in the SikuliX environment.
So be sure pyodbc meats the requirement.
If it does not look for an odbc-driver that is compatible with Jython
2.7.
You might try, wether the bundled zxJDBC.jar driver lib meets your
requirements.
use
load("zxJDBC.jar")
to make it available on sys.path.
For usage look in the net.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.