← Back to team overview

sikuli-driver team mailing list archive

[Question #271857]: Sikuli with Lettuce

 

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

1, I have set sites in "C:\Users\Administrator\AppData\Roaming\Sikulix\SikulixRepo\Lib\site-packages\sites.txt"
    sites.txt content : 
    C:\Python27\Lib\site-packages
    but when I code it as :
    # -*- coding: utf-8 -*-
from lettuce import *

@step('I have the number (\d+)')
def have_the_number(step, number):
    world.number = int(number)
 I met 
[error] script [ TestLettuce ] stopped with error in line 2
[error] ImportError ( No module named lettuce )

2,When I run Lettuce as BDD framework, How to run from SikuliX IDE or Can I code a python code which can import sikuli?
I need a example Thank you.

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