[Tutor] import site failed (WinXP)

Alexei Vinidiktov alexei.vinidiktov at gmail.com
Tue Jan 27 17:43:35 CET 2009


2009/1/27 Kent Johnson <kent37 at tds.net>:
> On Tue, Jan 27, 2009 at 11:24 AM, Alexei Vinidiktov
> <alexei.vinidiktov at gmail.com> wrote:
>> 2009/1/27 Kent Johnson <kent37 at tds.net>:
>
>>> My best guess is that somehow Python is finding the wrong
>>> encodings\aliases.py.
>>
>> I can't find an aliases.py file within the encodings folder. Should it be there?
>
> Yes, you should have a file
> C:\Python25\Lib\encodings\aliases.py
>
> and presumably if it is missing, it should be restored by re-installing.
>

That's the problem. Reinstalling Python or even installing a different
version doesn't install ...\Lib\encodings\aliases.py

>
> PS, please use Reply All to reply to the list.

Sorry, didn't know about that.



-- 
Alexei Vinidiktov


More information about the Tutor mailing list