← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #194489]: ImportError

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
might be, that this is because C:\Program Files\ needs special access
rights and it is not writeable for everyone.

When importing a some_name.py file from some_name.sikuli in Jython
(means Sikuli IDE), Jython writes a some_name$py.class file to that
directory. this write operation might make problems deep down inside and
comes to the surface as "No module ..." error.

So I suggest to put your files in a directory, that you have full access
to (e.g. C:\Sikuli_Modules\ ) and put your .sikuli stuff there.

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