Marc,

I'm the person, who build the rpm.  I'm using Red Hat and package works
flawlessly (as far as I need).

"MS" == Marc Saric wrote:

 MS> Hi all,
 MS> I recently downloaded the rpm-packages available from the
 MS> pymol-sourceforge-site


 MS> (i.e.
 MS> Numeric-20.2.1-1.i386.rpm
 MS> Pmw-0.8.5-1.i386.rpm
 MS> pymol-0_68-1.i386.rpm
 MS> )

 MS> and installed them, but after starting pymol, I got the following error:

 MS> -------------------------------

 MS> sa...@m99106:/home/saric> pymol
 MS> Traceback (most recent call last):
 MS> File "/usr/lib/pymol/launch_pymol.py", line 6, in ?
 MS> import pymol
 MS> File "/usr/lib/python2.1/site-packages/pymol/__init__.py", line 24, in ?
 MS> import _cmd
 MS> File "/usr/lib/python2.1/site-packages/pymol/_cmd.py", line 57, in ?

That line is strange.  Do you really have _cmd.py file???
There's no such file in rpm.  Neither in my site-packages/pymol.

This might be the cause of malfunction.

 MS> import parsing
 MS> File "/usr/lib/python2.1/site-packages/pymol/parsing.py", line 592, in ?
 MS> import cmd
 MS> File "/usr/lib/python2.1/site-packages/pymol/cmd.py", line 97, in ?
 MS> lock_api = pymol.lock_api
 MS> AttributeError: 'pymol' module has no attribute 'lock_api'

Other generic recommendation would be to rebuild rpm from src.rpm.  That's
simple: just issue
        rpm --rebuild pymol-xxx.src.rpm


-- 
Andrey V Khavryuchenko          http://www.kds.com.ua/
Offshore Software Development

Reply via email to