I have Python 3.3.2 installed, but cannot get Idle 3 to open

I have mac OSX 10.7.5. I installed Python 3.3.2 via HomeBrew. I cannot open IDLE 3. When I type idle3 at the command prompt in Terminal I get:

-bash: idle3: command not found. 

The program appears to start then close immediately. I have delved into the folders (usr/local/ etc.)and found a terminal programme called idle3.3 and various aliases but double clicking any of these produces nothing. Can anyone help?

Update: From another question I have found that I can get Idle 3 running by first opening Python 3 in the terminal and then typing import idlelib.idle. This seems hardly the right way of doing things, so I'm still baffled why I can't run Idle 3 by typing idle3 at the prompt.

4 Answers

You need to find where is your IDLE, then manually create symlink.
It works for me on Mac. I used the command:

ln -s "/usr/local/Cellar/python/3.7.1/bin/idle3" /usr/local/bin/idle
3

There have been some recent issues with Brew and Python3.3.3, I can only imagine it a affected 3.3.2 as the symptoms are the same. The installation was not creating symlinks and I could not get it to work either.

See :

For now install 3.3.4 from

You can then run idle from : /usr/local/bin/idle3

If you need to use brew you'll have to wait for them to update the package but the bug has been Known for three months and 3.3.4 now out. Maybe they are working on the version bump first.

1

I am on a Mac and I found that after a successful brew install python3 there are already symlinks under `/usr/local/bin/:

  • /usr/local/bin/idle3 or
  • /usr/local/bin/idle3.7

I use the latter.

Since I use mostly Python 3, I added this alias to ~/.profile:

alias py="python3"

Then py --version produces output that contains Python 3.7.4

Install homebrew on Mac OS X then use it to install Python 3 by running this code in the terminal:

brew install Python3

This will setup idle3 and other dependency packages.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like