[Chimera-users] .pyc session file

Elaine Meng meng at cgl.ucsf.edu
Mon Dec 12 13:57:51 PST 2016

Hi Luca,
Unfortunately (as the message suggests) a .pyc file from one computer may not be usable on a different computer. 

As I understand it, the .py file must have existed at some point, because the .pyc file is created from the .py file. I think you could recreate the .py file by opening the .pyc file on the original computer and saving session again, but I realize that might not be possible or convenient.
Elaine C. Meng, Ph.D. 
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco

> On Dec 12, 2016, at 6:31 AM, Luca Pellegrini <lp212 at cam.ac.uk> wrote:
> Hi,
> How can I open in Chimera a saved .pyc session file? When I try, Chimera reports the following error message:
> Error while processing /Users/lp212/Dropbox/<filename.pyc>:
> .pyc files are not portable; please use .py file instead
> Unfortunately I don’t have the .py file, Chimera doesn’t seem to have saved it (not sure why).
> Thanks,
> Luca

More information about the Chimera-users mailing list