New question #202862 on Sikuli:
https://answers.launchpad.net/sikuli/+question/202862

Due to the limitations of loading libraries like JSON in Sikuli, one has to do 
some special imports like 
{code}
import simplejson as json
{code}
to use JSON.  However, for 3rd party tools like BOTO, which have their own 
dependancies, it seems the only solution is modifying their code to safely use 
libraries like JSON.

If you try to use BOTO directly in a Sikuli script you will get something like :
"
Traceback (most recent call last):
  ...
    from boto.s3.connection import S3Connection
  File "/Library/Python/2.7/site-packages/boto/s3/connection.py", line 29, in 
<module>
    import boto.utils
  File "/Library/Python/2.7/site-packages/boto/utils.py", line 78, in <module>
    import json
ImportError: No module named json
"

Is their a workaround for this?



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

_______________________________________________
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