← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #692917]: ImportError no module named common

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
apparently the ../lib is not evaluated into an absolute path.

This should do the job:
libPath = os.path.join(getParentFolder(), "lib")
if not libPath in sys.path:
    sys.path.insert(1, libPath)

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