Getting IDLE 0.8 to recognize Pyhthon 2.2.1
Gerhard Häring
gerhard.haering at gmx.de
Sun Jul 7 20:37:42 EDT 2002
* Brad Fonseca <linuxbrad at rogers.com> [2002-07-08 00:28 +0000]:
> Hi!
>
> I've upgraded to python 2.2.1 but when I start IDLE it still starts
> Python 2.1.1. How do I get IDLE to start Python 2.2
Two possibilites.
1) Preferrable: Install the IDLE that comes with your Python 2.2.1. On
Debian: apt-get install idle-python2.2. Other distributions like the
KRUD RPMs from jafo available on python.org have idle in a seperate
package (in python2-tools-2.2.1-1.i386.rpm, IIRC).
2) A little more hackish: Find your idle: "which idle". Then change the
first line from
#! /usr/bin/python
to
#! /usr/bin/env python2.2
Gerhard
--
This sig powered by Python!
Außentemperatur in München: 16.0 °C Wind: 1.1 m/s
More information about the Python-list
mailing list