Ben Eisenbraun wrote:
> Hi Pete,
>
>> Usually python will regenerate pyc files as needed (assuming the source
>> files are available). So "find $COOTDIR -name "*.pyc" -exec rm {} \;"
>> might be worth a try.
>
> This is true, but the import error is being generated by Coot trying to
> read the _system_ .pyc files:
Whoops - missed that.
>
>>> ImportError: Bad magic number in /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site.pyc
>>> ImportError: Bad magic number in /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site.pyc
>
> And I would be hesitant to delete those. That said, in theory it really
> shouldn't matter.
>
> -ben
>
> --
> | Ben Eisenbraun
> | SBGrid Consortium | http://sbgrid.org |
> | Harvard Medical School | http://hms.harvard.edu |
|