> I have attached a screen grab of the alert message which now appears when I 
> try to run IDLE from OSX Python. The message box is itself frozen, and the OK 
> button unresponsive. Eventually a shape the size of the IDLE window appears 
> on screen as a blank white square, and I have to force quit, to quit the 
> python launcher. 
> In addition, this is the console message that appears in Terminal:
> Apples-iMac-4:scripts apple$ IDLE
> 11:20:00
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File 
> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/idlelib/run.py",
>  line 7, in <module>
>     import threading
>   File 
> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py",
>  line 14, in <module>
>     from time import time as _time, sleep as _sleep
> ImportError: cannot import name sleep
> 
> The console message has identical content to a message that I am also 
> currently investigating, and which had caused me to try to launch IDLE at 
> this time. This problem relates to running Python scripts that have import 
> commands to a particular 3rd party library, which were working, but now no 
> longer work without generating the same console message. Other scripts seem 
> to run OK on both OSX Python and the macported Python. I would say the 
> problem is with the 3rd party library save that IDLE is not related to that 
> library.
> 
> This may or may not be a macport issue, but as you say, having both macported 
> and OSX versions of Python may be causing a conflict. Please explain how I 
> may follow your initial advise on removing manually-installed software it may 
> help.
Install py27-tkinter and IDLE installed by MacPorts python will work.  (At 
least it opens for me when I did only that.  I didn’t actually do anything in 
IDLE.)

Lenore

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to