← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #255928]: Can't import sikuli for Python (PyCharm) on MAC OS

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
If you do not use any special C-Python modules, that contain C-based
libraries, your Python code should run on Jython as well.

The language level used must be either 2.5 or 2.7 (3.0+ not yet
supported) using the appropriate Jython.

So you need not switch to Jython completely, only for the scripts using
Sikuli features, you have to run them in Jython.

… and in PyCharm you can decide per project, wether it uses Python or
Jython.

How you finally combine Python and Jython projects depends on your
overall goals. There are many possibilities.

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