pythonpython-3.2python-idle

Start IDLE with Python 3 on Linux (Python 2.7 installed alongside)


I initially had Python 2.7, which often comes bundled with the OS (currently using Linux Mint 12). I wanted to try Python 3, so I installed it alongside Python 2. All is fine there, and I can run both versions in the terminal by calling either python or python3.

However, there doesn’t seem to be any way to start IDLE with Python 3. Is there some flag that I can pass to IDLE when I start it so that I can pick which version of Python I would like it to run?

E.g. (these don't work), idle3 or idle --shell=python3 or something like that. I read about pointing to a different executable in this question about IDLE for Python 3 (on Vista). However, I can't seem to do the analogous thing on Linux.


Solution

  • You'd have to install the appropriate package - Python 2.x and 3.x aren't compatible with each other.

    You can find the link here.