from sikuli import *. ImportError: No moude named sikuli
I am running Sikuli X 1.1.0 on Win7 Professional x64. Jython 2.7.0
I have built several test scripts which run fine in the Sikuli IDE, but do not run correctly from the command line.
Here is my code:
=======
import unittest
from sikuli import *
class TestType(
def testOpenText(self):
try:
except:
print "StartFailed"
if exists(
print "OpenText_
assert True
else:
print "OpenText_Failed"
assert False
def testSaveText(self):
try:
print "SaveText_
assert True
except:
print "SaveText_Failed"
assert False
suite = unittest.
unittest.
=======
It can runs at Sikuli IDE.
But if I use windows command line:
jython test.py
I got the error msg:
Traceback <most recent call last>:
File "test.py", line 2, in <module>
from sikuli import *
ImportError: No module named sikuli
Could someone help me please ?
Thanks.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask kevinfree for more information if necessary.