[Idle-dev] Making idle choose different python versions

Beni Cherniavsky-Paskin cben at users.sf.net
Tue Nov 9 09:26:32 CET 2010

Basically, idle uses the python executable that idle itself was running
with.  So try running
  /Python26/cooper/bin/python -m idlelib.idle
  /Python26/cooper/bin/python /Python26/Lib/idlelib/idle.pyw

Also, you might want to install coour without isolation from the test of
your python installation - according to the site,
  easy_install coopr
should do it.

sent from a glowing rectangle
On Nov 9, 2010 9:43 AM, "Ranjan" <ranjand2005 at gmail.com> wrote:
> Hi, I would request help in the following problem.
> Problem:
> I have installed Python 2.6.5 and then I installed Coopr
> (https://software.sandia.gov/trac/coopr/wiki/GettingStarted/Installing)
> for optimization related purpose. Now coopr when installed has
> a python.exe file of its own in Python26\coopr\bin directory which it uses
> access the modules in coopr. Coopr modules "cannot" be accessed using the
> python.exe present in \Python26 directory.
> Now my question is how do I make idle choose the python present
> in the directory Python26/coopr/bin. Idle by default chooses the python in
> /Python26 directory.
> Things I tried:
> 1. I tried changing the "start in" directory of idle
> (by right clicking and going to properties). It did not help
> 2. Added PYTHONPATH in environment variables (of the system)
> and set PYTHONPATH = C:\Python26\coopr\bin. This also
> does not work.
> Any help/pointers is appreciated.
> Thanks,
> Ranjan
> _______________________________________________
> IDLE-dev mailing list
> IDLE-dev at python.org
> http://mail.python.org/mailman/listinfo/idle-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/idle-dev/attachments/20101109/2a181424/attachment.html>

More information about the IDLE-dev mailing list