Question #698112 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/698112

    Status: Open => Answered

RaiMan proposed the following answer:
--- I have tried setting up the PYTHONPATH, JYTHONPATH and CLASSPATH but this 
had no affect.
This only works, if you are running with Jython from command line.
... but this is not possible easily with 2.0.5, since Jython is bundled

I have 3 solutions:
--- JYTHONPATH 
Set it in the environment and use the python features to extract it at runtime 

--- parameter
add the path as parameter after -- to the command line 

... in both cases you can now add the path to sys.path at runtime

--- site-packages
see 
https://sikulix-2014.readthedocs.io/en/latest/scenarios.html#access-python-packages-from-sikulix-scripts-run-by-sikulix-gui-or-commandline

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to