python 2.5 bug

Laurent Pointal laurent.pointal at wanadoo.fr
Sat Aug 11 14:09:03 EDT 2007


 vedrandekovic at v-programs.com wrote:

> On 11 kol, 11:59, Marc 'BlackJack' Rintsch <bj_... at gmx.net> wrote:
>> On Sat, 11 Aug 2007 02:41:26 -0700, vedrandekovic wrote:
>> > I was install Python 2.5 and uninstall Python 2.4 now I cannot run my
>> > scripts, only from idle
>>
>> > What should I do?
>>
>> Install 2.4 again.  Both can be installed in parallel.
>>
>> Ciao,
>>         Marc 'BlackJack' Rintsch
> 
> I need python 2.5 for work becose python 2.4 module tokenizer has no
> attribute "untokenize"

IMHO Python 2.4 was registered for .py files, Python 2.5 take precedence
when installed, but when Python 2.4 has been removed, it remove .py files
association too (so break Python 2.5 association).

* manually associate .py/.pyc/.pyo files to python.exe, .pyw files to
pythonw.exe.

* or reinstall Python 2.5 so that it re-setup ad-hoc associations.





More information about the Python-list mailing list