← Back to team overview

sikuli-driver team mailing list archive

[Question #250979]: Not able to import Python module Plistlib in Sikuli

 

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

Hi all, 

I am trying to import python module in sikuli script , but unable to import with error as mention below

Vinus-MacBook-Pro-2:test.sikuli dhirendra$ SIKULI_HOME=/Applications/Sikuli-IDE.app/Contents/Resources/Java
Vinus-MacBook-Pro-2:test.sikuli dhirendra$ java -jar $SIKULI_HOME/sikuli-script.jar -i
[info] Sikuli vision engine loaded.
[info] Mac OS X utilities loaded.
[info] VDictProxy loaded.
>>> 
>>> 
>>> import os
>>> import plistlib
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named plistlib

While jython able to import same module .. could you please suggest 

Vinus-MacBook-Pro-2:jython2.5.3 dhirendra$ ~/jython2.5.3/jython 
Jython 2.5.3 (2.5:c56500f08d34+, Aug 13 2012, 14:48:36) 
[Java HotSpot(TM) 64-Bit Server VM (Apple Inc.)] on java1.6.0_51
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> import plistlib 

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