I am trying to compile a program (python2.7) but no matter what I do I keep getting this error:
C:/Python27/tcl/tk8.5/tk.tcl: version conflict for package "Tk": have 8.5.2, need exactly 8.5.15
version conflict for package "Tk": have 8.5.2, need exactly 8.5.15
while executing
"package require -exact Tk 8.5.15"
(file "C:/Python27/tcl/tk8.5/tk.tcl" line 18)
invoked from within
"source C:/Python27/tcl/tk8.5/tk.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source $file]"
This probably means that tk wasn't installed properly.
Can someone please explain to me what's the problem here?
pip install Tk==8.5.15
? – Individualpip uninstall tk
and then run the line from my previous comment – Individualpip
works in windows. It takes some more setup but it's possible to get it working. I don't use Windows personally so I wouldn't know how to set it up. – Individual