Start New Discussion within our Software Development Community

So her is my problem I have a Macbook running OS 10.6.5 and i have python 2.x and 3.x installed on it and I can run python in the terminal but if I try to run the idle it just bounces for a few seconds then disappears. can anyone help.

Um I don't use tkinter but as for running idle.py I try to run it and it gives me no such directory error.

Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'idle.py': [Errno 2] No such file or directory
thats it

Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'idle.py': [Errno 2] No such file or directory
thats it

idle.py should be in idlelib. Try this in a python interpreter

>>> import idlelib
>>> print(idlelib.__file__)

it should give you the path to idlelib.

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/idlelib/__init__.pyc


thats what it gave me.

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/idlelib/__init__.pyc


thats what it gave me.

Then try python /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/idlelib/idle.py

Well I was trying to fix the Idle so I could use SPE cause that doesn't work as well I thought they might be related I'm not sure.

well I haven't found any SPE troubleshooting so is there any other free python IDEs you can recommend cause I'm not sure what to use what do you use?

well I haven't found any SPE troubleshooting so is there any other free python IDEs you can recommend cause I'm not sure what to use what do you use?

No I can't recommend an ide. I'm using a home-made ide :). But try spyder, it looks promising.

This article has been dead for over six months. Start a new discussion instead.