sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #30913
[Question #263314]: Bat file - if I try to use "Tkinter" package then the system returns: [error] ImportError ( No module named Tkinter )
New question #263314 on Sikuli:
https://answers.launchpad.net/sikuli/+question/263314
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.
take care
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.