← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #671266]: creating an image lib

 

Question #671266 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671266

    Status: Answered => Open

Sander is still having a problem:
Hi Manfred,

Thanks for coming back on this. You are correct. That is my mistake editing this answer.
But the actual problem is, is that is returns an error for the import.

I've tried what Raiman suggested but it gives an:

[error] script [ executableTests] stopped with error in line 2
[error] ImportError ( No module named sikuli )

--
#someImages.sikuli
from sikuli import *
setBundlePath(".../Sikulix/someImages.sikuli")

image1 = "image1.png"
image2 = "image2.png"

than:

# executableTests
from sikuli import *
from someImages import *

hover(image1)
hover(image2)

[...]
--
[error] script [ executableTests ] stopped with error in line 2
[error] ImportError ( No module named sikuli )

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.