← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #263314]: Bat file - if I try to use "Tkinter" package then the system returns: [error] ImportError ( No module named Tkinter )

 

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

Description changed to:
Hi,


If I call  the python file via bat then the system will return: [error] ImportError ( No module named Tkinter ).
[1] My  bat code is:
start /i /b /wait C:\Sikuli\sikuli\sikuli\runIDE.cmd -r "C:\Users\gmunteanu\Desktop\automat\teste\test.sikuli"

[2] My python code is:
import Tkinter
selectComponent = Tkinter.Tk()
selectComponent.mainloop()


[3] Note:
The same code works if I run it via python idle.


If you get the chance, please tell me what I am doing wrong.




take care

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