← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #633549]: Need Help in Importing Tinys3 / BOTO3 into Sikuli

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
for import of Python modules look here:
http://sikulix-2014.readthedocs.io/en/latest/scenarios.html#access-python-packages-from-sikulix-scripts-run-by-sikulix-gui-or-commandline

Be sure to use a Sikulix 1.1.1+

Be aware: SikuliX supports scripts written in Python language, but internally the Java based interpreter Jython is used.
This are the restrictions you have to live with:
- only language level up to 2.7 is supported (hence no support for 3.x)
- Python modules must be written in Python only (no native library parts (C/C++ stuff) or dependencies on non-Python-only packages.

So with your mentioned modules:
- TinyS3 seems to depend on language level 3.x
- about Boto3: seems to depend on some native stuff

So feel free to try it, but be prepared on being not able to use the
modules with SikuliX.

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