sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #28483
Re: [Question #255035]: I can't get 1.1.0 nightly sikulixapi working within PyCharm
Question #255035 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/255035
RaiMan proposed the following answer:
more comments:
- the SikuliX libs folder need not be on JYTHONPATH (the libs folder is
automagically added to system path at runtime)
- At the Jython/Python level, you should always only use
from sikuli import *
(DO NOT import additional classes, except from the Java level if needed
using)
since all imports, that make sense are already done by the
from sikuli import *
if you put an
import SikulixForJython
at the beginning of your script, Sikuli will take care at runtime, that
the folder Lib containing the Python API is available and on Python's
sys.path.
more information:
https://github.com/RaiMan/SikuliX-2014/wiki/Usage-in-Java-programming
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.