← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #255035]: [1.1.0] PyCharm: sikulixapi not working

 

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

RaiMan posted a new comment:
Might not have been clear enough:

DO NOT in any case import the basic Sikuli classes like Screen, Region,
Location, … (nearly any class from org.sikuli.script) from the Java
level.

The Python/Jython level has it's own wrapper with specially preps for
the usage of the Java API at the Jython level.

If you do not follow this recommendation, then you will get some crazy errors …
… so do not do it.

--- code completion
to get code completion, you need the folder sikulixapi.jar/Lib in your projects PYTHONPATH. If that is not possible (folders from inside jars), then you should already have the folder Lib in your setup folder, that you can reference in your PyCharm project

… all this is mentioned under the link, I gave you in comment #2.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.