<font color='black' size='2' face='arial'><font color="black" face="arial" size="2">
<div> <br>

</div>


</font>Yes I may try this, <font size="2">as</font> I have resolved the problem. <br>
<font color="black" face="arial" size="2">
<div><br>
YEAY!<br>
<br>
Thanks, all.<br>
<br>
-A<br>
<br>
<br>

</div>



<div> <br>

</div>



<div style="font-family:helvetica,arial;font-size:10pt;color:black">-----Original Message-----<br>

From: Lenore Horner &lt;LenoreHorner@sbcglobal.net&gt;<br>

To: MacPorts Users &lt;macports-users@lists.macosforge.org&gt;<br>

Sent: Fri, 4 Apr 2014 11:52<br>

Subject: Re: help! - Python, Tkinter and IDLE<br>

<br>









<div id="AOLMsgPart_3_bff857c1-7054-4a7d-bc48-04c025b3daf6">

<br>



<div><blockquote type="cite"><font face="arial" size="2">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. <br>


In addition, this is the console message that appears in Terminal:<br>


Apples-iMac-4:scripts apple$ IDLE<br>


11:20:00<br>


Traceback (most recent call last):<br>


&nbsp; File "&lt;string&gt;", line 1, in &lt;module&gt;<br>


&nbsp; File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/idlelib/run.py", line 7, in &lt;module&gt;<br>


&nbsp;&nbsp;&nbsp; import threading<br>


&nbsp; File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 14, in &lt;module&gt;<br>


&nbsp;&nbsp;&nbsp; from time import time as _time, sleep as _sleep<br>


ImportError: cannot import name sleep<br>


<br>


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.<br>


<br>


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 <font face="arial" size="2"><font face="arial" size="2"><tt>manually-installed 
software</tt></font></font> it may help.</font></blockquote>Install py27-tkinter and IDLE installed by MacPorts python will work. &nbsp;(At least it opens for me when I did only that. &nbsp;I didn’t actually do anything in IDLE.)</div>



<div><br>

</div>



<div>Lenore</div>



<div><br>

</div>


</div>

 <!-- end of AOLMsgPart_3_bff857c1-7054-4a7d-bc48-04c025b3daf6 -->



<div id="AOLMsgPart_4_bff857c1-7054-4a7d-bc48-04c025b3daf6" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;">

<pre style="font-size: 9pt;"><tt>_______________________________________________
macports-users mailing list
<a __removedlink__1956166312__href="mailto:macports-users@lists.macosforge.org">macports-users@lists.macosforge.org</a>
<a __removedlink__1956166312__href="https://lists.macosforge.org/mailman/listinfo/macports-users" target="_blank">https://lists.macosforge.org/mailman/listinfo/macports-users</a>
</tt></pre>
</div>

 <!-- end of AOLMsgPart_4_bff857c1-7054-4a7d-bc48-04c025b3daf6 -->



</div>

</font></font>