[Pythonmac-SIG] 'import site' failed. Trouble starting python. What does this mean?

Bob Ippolito bob at redivi.com
Tue Jul 19 23:45:35 CEST 2005


On Jul 19, 2005, at 3:36 AM, Louis Pecora wrote:

> I've been having trouble running Python from BBEdit and the MacPython
> IDE (neither works) so I tried to start from the terminal.  I get this
> message:
>
> louispec% python -v
> # installing zipimport hook
> import zipimport # builtin
> # installed zipimport hook
> 'import site' failed; traceback:

That's no good.  Have you been screwing with environment variables?   
PYTHONPATH, etc.?

Did the files get deleted from /System/Library/Frameworks/ 
Python.framework/Versions/2.3/lib/python2.3 ?  Or were the  
permissions mangled?

-bob



More information about the Pythonmac-SIG mailing list