Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Errors in PyDev in Eclipse
icon5.gif  Errors in PyDev in Eclipse [message #1452897] Sun, 26 October 2014 03:17 Go to next message
Andy Lee is currently offline Andy LeeFriend
Messages: 2
Registered: October 2014
Junior Member
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] Sun, 26 October 2014 03:54 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3799
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

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 21:28 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 379
Registered: August 2014
Senior Member
Tkinter is an adapter to call TCL/Tk from Python.

Are you sure that you have TCL/Tk in your computer?


--

Tauno Voipio
Re: Errors in PyDev in Eclipse [message #1783038 is a reply to message #1453353] Wed, 07 March 2018 05:50 Go to previous message
Bailey Johnston is currently offline Bailey JohnstonFriend
Messages: 15
Registered: February 2018
Junior Member
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: Tue Jun 19 16:03:54 GMT 2018

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

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

Back to the top