← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #667140]: Unable to debug sikuli Script in Intellij /pycharm

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
I just made a test on my Mac with Pycharm - works 
- PyCharm uses the 2.7.0 interpreter, but my SikuliX is setup with 2.7.1

I had the problem, that the <appdata>/Sikulix/Lib folder contained Jython stuff.
I deleted the folder and ran a PythonConsole in PyCharm with these additional startup lines:
import org.sikuli.script.SikulixForJython
from sikuli import *

this restored the Lib folder.

This PythonConsole is helpful to do some quick checks or run a script.

After stopping and restarting PyCharm it worked.

In my run configuration for the project I have a pointer to
sikulixapi.jar in the EnvVariables field

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