← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #401602]: problem with import .py

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
- jar 1.1.1 starts as SikuliX IDE 1.1.0
check again carefully: you seem to have some mix-up of the different versions. Take care, that nothing in your environment points to 1.1.0 stuff.
Recommendation: put 1.1.0 aside completely and make a fresh setup for 1.1.1

- .py modules in a .sikuli
... is not recommended
Python feature modules like send_email and formdata should reside in central folders.
About the options with 1.1.1 see:
http://sikulix-2014.readthedocs.io/en/latest/scenarios.html#access-python-packages-from-sikulix-scripts-run-by-sikulix-gui-or-commandline

to check your sys.path put a 
for e in sys.path: print e

at the very beginning of your main script run by SikuliX

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