Reputation: 53
I've recently moved myself over to macOS so apologies if this is a very silly question, but I've installed Python 3 using brew install python
, and although it's available to use as expected via a CLI, I can't for the life of me find IDLE anywhere on my system, and can't launch it using anything like Spotlight.
Have I missed something when installing?
Thanks! 😁
Upvotes: 5
Views: 4425
Reputation: 2627
On my machine (macOS Monterey version 12.3.1) IDLE is symlinked at /usr/local/bin/idle3
i.e. I can run it using idle3
(note the 3
, not just idle
)
idle3
I had to also install Tkinter
using brew install python-tk
because on first run IDLE complained it couldn't import Tkinter
** IDLE can't import Tkinter.
Your Python may not be configured for Tk. **
brew install python-tk
After that IDLE worked as expected and a Python shell window is opened.
Thanks to the Installing Python 3 on MacOS DevDungeon page for pointing me at idle3
and this answer to the Tkinter: "Python may not be configured for Tk" question on Stack Overflow.
Upvotes: 13