← Back to team overview

sikuli-driver team mailing list archive

[Question #194489]: ImportError

 

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

Hi,

I read several thread from the forum, as well as Sikili's guide and no way to import a Sikuli module.
I'm on WinXP.
All files are in C:\Program Files\Sikuli

main.sikuli :
import VPsLogin
type("m", KEY_WIN)
doubleClick( imgpath)
VPsLogin.sub1()
....

VPsLogin.sikuli :
from sikuli import *
def sub1(self):
....

I got the error message :
"[sikuli] Error message:
Traceback (most recent call last):
  File "C:\DOCUME~1\LOCALS~1\Temp\sikuli-tmp4714538326415647707.py", line 1, in <module>
    import VPsLogin
ImportError: No module named VPsLogin"

If someone has an idea, I try a lots of things from the forum and it is always the same result.

Fabian

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.