I settled for a fresh start, i.e. recompiling PyMol. This solved the issue.
> -----Original Message----- > From: Markus Heller <mhel...@admarebio.com> > Sent: Wednesday, November 27, 2019 4:01 PM > To: pymol-users@lists.sourceforge.net > Subject: [PyMOL] ModuleNotFoundError: No module named 'pymol._cmd' > > Hi, > > This is just an attempt to see if my issue has popped up before. > > I have compiled open source Pymol 2.4, which I used for a few months now. > Today, the following error prevents launching Pymol: > > <code> > $ pymol > Traceback (most recent call last): > File "/home/mheller/pymol-2.4/lib/python/pymol/__init__.py", line 64, in > <module> > import pymol > File "/home/mheller/pymol-2.4/lib/python/pymol/__init__.py", line 564, in > <module> > import pymol._cmd > ModuleNotFoundError: No module named 'pymol._cmd' > </code> > > `/usr/local/Pymol-2.4/lib/python/Pymol` contains `cmd.py` and `_cmd.cpython- > 36m-x86_64-linux-gnu.so` > > I'm baffled as to why Pymol fails to open, as I'm not aware of any changes > made > to my python setup or related. > > I'd be very grateful for a slight nudge in the right direction ... > > Thanks > Markus > > > > _______________________________________________ > PyMOL-users mailing list > Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net > Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol- > users/unsubscribe _______________________________________________ PyMOL-users mailing list Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe