I'm trying to install python 3 from source in my new Mandriva 2010. I have read a lot of posts in this website, but none of the instructions has worked for me.
The code compiles and all, but it doesn't install tkinter. I know that tcl/tk are installed because python 2.6 (which comes with Mandriva) can import Tkinter.
I am trying to run this code, and it does work with python 2.x:
from Tkinter import * root = Tk() root.geometry("100x100+300+200") l1 = Label(root, text="Hello World!") b1 = Button(root, text="close", command=quit) l1.pack() b1.pack() root.mainloop()
I installed the following packages using the package manager:
Still the configure script will not find tcl/tk in my system.
Any help would be appreciated.
PS. I know I have to change Tkinter to tkinter, the problem is that python3.1 will not even import tkinter. Instead it gives me the "no module named tkinter" error.
Edited 6 Years Ago by G_S: n/a