Ask Your Question

No module named tkinter

asked 2020-06-02 20:48:08 -0600

klastine gravatar image

updated 2020-06-03 18:40:05 -0600

I am trying to use tkinter in my ROS environment but I am having some trouble getting it set up. I added it to my 'packages.xml' file like this


but when I install the package with 'rosdep install [my package]', the node I have 'import tkinter' in still will not run, and instead returns 'ImportError: No module named tkinter'. I am relatively new to ROS and have not installed third party packages before so I'm not sure if I'm missing something. Thanks in advance for any help!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-06-04 23:39:20 -0600

klastine gravatar image

Nevermind, I figured it out. I had to use 'import Tkinter' instead of 'import tkinter'.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2020-06-02 20:48:08 -0600

Seen: 320 times

Last updated: Jun 04 '20