<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, "Ranjan" <<a href="mailto:ranjand2005@gmail.com" target="_blank">ranjand2005@gmail.com</a>> wrote:<br type="attribution">> <br>> Hi, I would request help in the following problem. <br>
> <br>> Problem:<br>> <br>> I have installed Python 2.6.5 and then I installed Coopr<br>> (<a href="https://software.sandia.gov/trac/coopr/wiki/GettingStarted/Installing" target="_blank">https://software.sandia.gov/trac/coopr/wiki/GettingStarted/Installing</a>)<br>
> for optimization related purpose. Now coopr when installed has <br>> a python.exe file of its own in Python26\coopr\bin directory which it uses to<br>> access the modules in coopr. Coopr modules "cannot" be accessed using the<br>
> python.exe present in \Python26 directory.<br>> <br>> Now my question is how do I make idle choose the python present<br>> in the directory Python26/coopr/bin. Idle by default chooses the python in the<br>
> /Python26 directory.<br>
> <br>> Things I tried:<br>> <br>> 1. I tried changing the "start in" directory of idle <br>> (by right clicking and going to properties). It did not help<br>> <br>> 2. Added PYTHONPATH in environment variables (of the system) <br>
> and set PYTHONPATH = C:\Python26\coopr\bin. This also <br>> does not work.<br>> <br>> Any help/pointers is appreciated.<br>> <br>> Thanks,<br>> Ranjan<br>> <br>> <br>> <br>> _______________________________________________<br>
> IDLE-dev mailing list<br>> <a href="mailto:IDLE-dev@python.org" target="_blank">IDLE-dev@python.org</a><br>> <a href="http://mail.python.org/mailman/listinfo/idle-dev" target="_blank">http://mail.python.org/mailman/listinfo/idle-dev</a><br>
</div>