Getting IDLE 0.8 to recognize Pyhthon 2.2.1
Brad Fonseca
linuxbrad at rogers.com
Mon Jul 8 20:58:04 EDT 2002
Gerhard Häring wrote:
> * 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
I tried this and it starts up but I get error if I try to use it.
--
---
Brad Fonseca
More information about the Python-list
mailing list