sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #50821
Re: [Question #678873]: Exception in thread "main" ImportError: No module named __run__
Question #678873 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678873
RaiMan proposed the following answer:
There should be another entry in the File menu: Export as jar
This creates a jar, that contains the compiled sources and the images and can be run with plain Jython having sikulixapi.jar on the class path at runtime.
jyton -jar your script.jar
another option (not having a Jython environment installed) (only supported with 1.1.4)
java -cp sikulixapi.jar:jython-standalone.jar org.python.util.jython -jar your script.jar
the mentioned jars can be found in the SikuliX environment
... and another option is:
run this sikuli script from command line:
load(<path-to-your-script-jar>)
import __run__
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.