Skip to main content



      Home
Home » Newcomers » Newcomers » Errors in PyDev in Eclipse
icon5.gif  Errors in PyDev in Eclipse [message #1452897] Sat, 25 October 2014 23:17 Go to next message
Eclipse UserFriend
So, I was using Tkinter in PyDev, and I always get this error:

ImportError: No module named 'Tkinter'

My code is:
from Tkinter import *

root = Tk()

root.title("Sample GUI")
root.geometry("1354x768")

root.mainloop()


I didn't encounter this error earlier, so I don't know how to solve it.
Thank you!
Re: Errors in PyDev in Eclipse [message #1452913 is a reply to message #1452897] Sat, 25 October 2014 23:54 Go to previous messageGo to next message
Eclipse UserFriend
On 10/25/2014 09:17 PM, Andy Lee wrote:
> So, I was using Tkinter in PyDev, and I always get this error:
>
> ImportError: No module named 'Tkinter'
>
> My code is:
>
> from Tkinter import *
>
> root = Tk()
>
> root.title("Sample GUI")
> root.geometry("1354x768")
>
> root.mainloop()
>
>
> I didn't encounter this error earlier, so I don't know how to solve it.
> Thank you!

I believe that PyDev is supported by its own community. You'll likely
not get an answer in this or any other Eclipse forum.
Re: Errors in PyDev in Eclipse [message #1453353 is a reply to message #1452897] Sun, 26 October 2014 17:28 Go to previous messageGo to next message
Eclipse UserFriend
Tkinter is an adapter to call TCL/Tk from Python.

Are you sure that you have TCL/Tk in your computer?
Re: Errors in PyDev in Eclipse [message #1783038 is a reply to message #1453353] Wed, 07 March 2018 00:50 Go to previous message
Eclipse UserFriend
I am new to python, and I use C++ Luna eclipse. how did you even get pydev to run? I get a wrapped resource error
Previous Topic:FXML Controller won't run.
Next Topic:Windows websockets binary?
Goto Forum:
  


Current Time: Mon Jul 14 06:48:10 EDT 2025

Powered by FUDForum. Page generated in 0.12415 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top