How get IDLE.app for python311 to work?

Murray Eisenberg murrayeisenberg at gmail.com
Tue Mar 7 16:35:43 UTC 2023


(1) If from /Applications/MacPorts/Python 3.11 I open IDLE.app, then nothing happens.

(2)If first I run XQuartz.app and from its Appliantions menu selet Terminal, thereby getting a new Terminal-like window, and 
if I now open  /Applications/MacPorts/Python 3.11 I open IDLE.app, still nothing happens.

(3) If instead now I open /Applications/MacPorts/Python\ 3.11/IDLE.app/Contents/MacOS/IDLE, then I get a new Terminal window showing:

/Applications/MacPorts/Python\ 3.11/IDLE.app/Contents/MacOS/IDLE ; exit;
[~] % /Applications/MacPorts/Python\ 3.11/IDLE.app/Contents/MacOS/IDLE ; exit;
** IDLE can't import Tkinter.
Your Python may not be configured for Tk. ** 
/Applications/MacPorts/Python\ 3.11/IDLE.app/Contents/MacOS/IDLE ; exit;
[~] % /Applications/MacPorts/Python\ 3.11/IDLE.app/Contents/MacOS/IDLE ; exit;
** IDLE can't import Tkinter.
Your Python may not be configured for Tk. **

What is installed are:

python311 @3.11.2_0+lto+optimizations+universal
tk @8.6.13_0+x11

How do I get IDLE.app to work??

---
Murray Eisenberg		murrayeisenberg at gmail.com
Mobile (413)-427-5334
503 King Farm Blvd #101		
Rockville, MD 20850-6667	



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20230307/c6730dff/attachment.htm>


More information about the macports-users mailing list