← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #214725]: Facing issue while importing Sikuli script in Eclipse

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- 1. Jython 2.5.3
If you want to use Jython 2.5.3, then 
C:\sikuli-script\lib\Lib

should not be in sys.path, but only the contained folder sikuli.
The folder Lib as you use it contains modules belonging to Jython 2.5.2, that might not be compatible.
But this is not the problem here.

-- 2. VisionProxy.dll: Can't find dependent libraries
This means, that when running the script in Eclipse, the system path does not contain an entry pointing to Sikuli's native libraries nor has it an entry SIKULI_HOME, pointing to a folder, that contains the libs folder from Sikuli's installation folder (usually C:\Program Files\Sikuli X\).

If you have all this (and the entry pointing to C:\Program
Files\Java\jre6\bin) in your system environment outside of Eclipse, then
you have to take care, that Eclipse uses the outside environment at
script run (some option in the project's prefs).

So I recommend as a first step to get Sikuli X IDE running on your
system according to FAQ 2005.

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