如何用python运行sikuli脚本?

时间:2018-02-22 10:44:32

标签: python importerror sikuli sikuli-script sikuli-ide

from sikuli.Sikuli import *
click("1519208908961.png")
sleep(5)
click("1519209904771.png")
sleep(20)
click("1519209975577.png")
sleep(120)
find("1519211685466.png")
doubleClick("1519211719891.png")
click("1519212466623.png")
sleep(180)

我有这样的Sikuli脚本。但是在Python IDLE中运行

投掷

Trackback (most recent call last):
      File "C:\Users\sxe10\AutoInstall.sikuli\AutoInstall.py", line 1, in <module>
        from sikuli.Sikuli import *

    File "C:\Python27\lib\site-packages\sikuli-0.1-py2.7-win32.egg\sikuli\__init__.py", line 1, in <module>
        from sikuli import *

      File "C:\Python27\lib\site-packages\sikuli-0.1-py2.7-win32.egg\sikuli\sikuli.py", line 15, in <module>
        from jnius import autoclass

     File "c:\users\sxe10\appdata\local\temp\easy_install-g88cag\jnius-1.1.dev0-py2.7-win32.egg.tmp\jnius\__init__.py", line 12, in <module>

     File "c:\users\sxe10\appdata\local\temp\easy_install-g88cag\jnius-1.1.dev0-py2.7-win32.egg.tmp\jnius\jnius.py", line 7, in <module>

    File "c:\users\sxe10\appdata\local\temp\easy_install-g88cag\jnius-1.1.dev0-py2.7-win32.egg.tmp\jnius\jnius.py", line 6, in _bootstrap__
  

ImportError:DLL加载失败:指定的模块不能   找到。

请帮助解决问题。

提前致谢

0 个答案:

没有答案