Error in running python -v on Mac ox 10.5.

Diez B. Roggisch deets at nospam.web.de
Tue May 5 18:26:30 EDT 2009


silverburgh schrieb:
> Hi,
> 
> I run 'python -v' on Macos 10.5 but I get this error :
> # can't create /System/Library/Frameworks/Python.framework/Versions/
> 2.5/lib/python2.5/encodings/utf_8.pyc
> 
> Can you please tell me how to fix it?

This looks like a rights-problem to me, and a missing pyc-file.

If you do

sudo python -v

does it work? Then, utf_8.pyc might have been created, and subsequent 
sudo-less inovcations might work.

Diez



More information about the Python-list mailing list