In article <[email protected]>, Joshua Root <[email protected]> wrote:
> > Ok, I’ve got python2.7 and 3.4 from Macports installed. I’m trying to use > > idle but the error printed is: > > > > ** IDLE can’t import Tkinter. Your Python may not be configured for tk ** > > > > I also installed the py34-tkinter port as I believe this port contains the > > required libraries for Idle. The same error is printed. > > > > Could it be a $PATH issue or missing libraries issue or both? > > > > PATH is currently set to: > > > > /Users/jamie/bin:/opt/local/bin:/opt/local/sbin:/usr/local/sbin:/Users/jamie > > /bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bi > > n:/usr/texbin > > > > Some repetition of directories but that shouldn’t cause a problem (I don’t > > think) > > > > Would anyone be able to offer some advice/info? > > How are you starting IDLE? I just installed python34 and py34-tkinter > and double-clicking on /Applications/MacPorts/Python 3.4/IDLE.app works > fine. (If you want to run /Applications/MacPorts/Python 2.7/IDLE.app > then of course you would need py27-tkinter.) Also what port variant of tk are you using? The quartz variant has open issues for 10.9.x and Xcode 5.1: https://trac.macports.org/ticket/42850 (ping!) -- Ned Deily, [email protected] _______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
