← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #678478]: How to import cx_Oracle library into python SikuliX script --- not possible (C-based)

 

Question #678478 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678478

    Status: Open => Answered

RaiMan proposed the following answer:
Supposing the module cx_Oracle is in a place, where it can be found by
SikuliX (containing folder is in sys.path).

Sorry, but since SikuliX is Java based using the Jython interpreter,
only Python modules written in plain Python language can be imported.

cx_Oracle seems to depend on native libraries, which means it contains
C-based code, which leads to the ImportError: No module named cx_Oracle

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.