Removing aliases.pyc solved it.
Thank you.
2007/1/3, "Martin v. Löwis" <[EMAIL PROTECTED]>:
> TiNo schrieb:
> > File "F:\Python25\lib\encodings\__init__.py", line 32, in
> >from encodings import aliases
> > ValueError: bad marshal data
> >
> > also removed site.pyc, and run it again, but wi
TiNo schrieb:
> File "F:\Python25\lib\encodings\__init__.py", line 32, in
>from encodings import aliases
> ValueError: bad marshal data
>
> also removed site.pyc, and run it again, but with the same result.
It's likely rather aliases.pyc which is bad, so try removing that.
If in doubt, remo
Good question...
I am now on a different computer, one that has never heard of Python,
so no env vars are set. Again, this gives (my memory stick is now
F:\):
--
F:\Python25>python -v
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# F
TiNo schrieb:
> # G:\Python25\lib\encodings\aliases.pyc matches
[...]
> File "F:\Python25\lib\encodings\__init__.py", line 32, in
>
> What can I do about this?
Where does F:\Python25 come from?
If you have set any PYTHON* environment variables (e.g. PYTHONPATH),
unset them.
Regards,
Martin
--
Hi,
I have installed python two days ago on a USB memory stick (I am on
the move and have no laptop.) I am on windows computers, mostly XP,
all the time.
Now, after pluging it in to a different computer, I get the following
message when I run pyhthon:
'import site' failed; use -v for traceback
p