<p>Basically, idle uses the python executable that idle itself was running with.  So try running<br>
  /Python26/cooper/bin/python -m idlelib.idle<br>
or<br>
  /Python26/cooper/bin/python /Python26/Lib/idlelib/idle.pyw</p>
<p>Also, you might want to install coour without isolation from the test of your python installation - according to the site,<br>
  easy_install coopr<br>
should do it.</p>
<p>-- <br>
sent from a glowing rectangle</p>
<div class="gmail_quote">On Nov 9, 2010 9:43 AM, &quot;Ranjan&quot; &lt;<a href="mailto:ranjand2005@gmail.com" target="_blank">ranjand2005@gmail.com</a>&gt; wrote:<br type="attribution">&gt; <br>&gt; Hi, I would request help in the following problem. <br>

&gt; <br>&gt; Problem:<br>&gt; <br>&gt; I have installed Python 2.6.5 and then I installed Coopr<br>&gt; (<a href="https://software.sandia.gov/trac/coopr/wiki/GettingStarted/Installing" target="_blank">https://software.sandia.gov/trac/coopr/wiki/GettingStarted/Installing</a>)<br>

&gt; for optimization related purpose. Now coopr when installed has <br>&gt; a python.exe file of its own in Python26\coopr\bin directory which it uses to<br>&gt; access the modules in coopr. Coopr modules &quot;cannot&quot; be accessed using the<br>

&gt; python.exe present in \Python26 directory.<br>&gt; <br>&gt; Now my question is how do I make idle choose the python present<br>&gt;  in the directory Python26/coopr/bin. Idle by default chooses the python in the<br>
&gt; /Python26 directory.<br>
&gt; <br>&gt; Things I tried:<br>&gt; <br>&gt; 1. I tried changing the &quot;start in&quot; directory of idle <br>&gt; (by right clicking and going to properties). It did not help<br>&gt; <br>&gt; 2. Added PYTHONPATH in environment variables (of the system) <br>

&gt; and set  PYTHONPATH = C:\Python26\coopr\bin. This also <br>&gt; does not work.<br>&gt; <br>&gt; Any help/pointers is appreciated.<br>&gt; <br>&gt; Thanks,<br>&gt; Ranjan<br>&gt; <br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>

&gt; IDLE-dev mailing list<br>&gt; <a href="mailto:IDLE-dev@python.org" target="_blank">IDLE-dev@python.org</a><br>&gt; <a href="http://mail.python.org/mailman/listinfo/idle-dev" target="_blank">http://mail.python.org/mailman/listinfo/idle-dev</a><br>
</div>