Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python IDLE is not starting on Windows 7

I used to use Python 2.7 and then IDLE was working. I uninstalled it and installed Python 3.1.
Right now Idle cannot launch. What should i do to get it running?

NOTE: I tried c:\Python31\pythonw.exe c:\Python31\Lib\idlelib\idle.py
i uninstalled 3.1 and installed back 2.7, not working neither...

like image 917
didideder Avatar asked Aug 15 '10 16:08

didideder


2 Answers

I got the same problem on window 10. Steps to solve the problem:

  1. Locate the .idlerc folder in your profile directory (e.g. C:\Users\{your-username} without the braces).
  2. Delete the .idlerc directory.

It worked for me...

like image 80
smasher Avatar answered Sep 22 '22 23:09

smasher


In the past, I've often found that when I had some issues with the python.org version of some Python release, specifically on Windows, installing instead the activepython version of the same release, from ActiveState, made the problems go away. So, in your shoes, the first thing I would try would be ActivePython (I don't think they have a 2.7 yet -- it's probably been around for too short a time yet -- but they definitely do have a 3.1).

EDIT: Versions 2.5, 2.6, 2.7, 3.2, 3.3, and 3.4 have been added.

like image 34
Alex Martelli Avatar answered Sep 18 '22 23:09

Alex Martelli