← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #293519]: [1.1.x] external IDE: How to setup/configure JetBrains PyCharm

 

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

Roman Podolyan posted a new comment:
To summarize:

) Pycharm is OK

) Make Jython Python interpreter for project (my Jython path is
different from RaiMan's, ~/jython2.7.0/bin/jython   )

) In the run configuration for and per particular .py file, which can be accessed from meny Run / Edit configuration add an entry to the environment variables 
name: CLASSPATH
value: <path to>/sikulixapi.jar   

you may find your pah using Mac OS Finder. Mine is
~/Applications/Sikuli/sikulixapi.jar

) put in beginning of your main (runnable) Python files first 2 lines:
import org.sikuli.script.SikulixForJython
from sikuli import *

) To switch off red highlighting, change switch preferences / level
(icon with man face in hat in bottom right corner of PyCharm screen).

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