结合Sikuli和PyModel测试:ImportError:没有名为org.sikuli.basics的模块

时间:2014-09-16 13:20:04

标签: jython sikuli

我在Mac OS X上使用Jython 2.5.3,PyDev,Sikuli 1.0.1和Eclipse Luna。 在我用Sikuli本身添加Python-Path环境变量和PyDev外部库后,一切正常。 此外,PyModel样本正在我的mashine上工作。

现在我想将Sikuli与PyModel测试结合起来(http://staff.washington.edu/jon/pymodel/www/)。 但是当我尝试使用PyModel执行一个简单的Sikuli测试时,我收到以下消息:

('', 'Traceback (most recent call last):
  File "/usr/local/bin/pmt", line 8, in <module>
    pmt.main()
  File "/Library/Python/2.7/site-packages/pymodel/pmt.py", line 180, in main
    mp = ProductModelProgram(options, args)
  File "/Library/Python/2.7/site-packages/pymodel/ProductModelProgram.py", line 40, in __init__
    self.module[mname] = __import__(mname) 
  File "/Volumes/MBT_Py/PyModel/samples/handshake/handshake.py", line 8, in <module>
    from sikuli.Sikuli import *   
  File "/Volumes//MBT_Py/sikuli/__init__.py", line 5, in <module>
    from org.sikuli.basics import Debug
ImportError: No module named org.sikuli.basics
')

0 个答案:

没有答案