On 24 Apr 2003, seth vidal wrote: > run python -V on that system. > > I bet the pyc files are compiled for the wrong version of python. got somewhat further /// [root@router root]# rpm -e yum [root@router root]# rpm -Uvh /usr/src/redhat/RPMS/noarch/yum-1.97-1.noarch.rpm Preparing... ########################################### [100%] 1:yum ########################################### [100%] [root@router root]# yum -y update Traceback (innermost last): File "/usr/bin/yum", line 22, in ? import yummain File "yummain.py", line 21, in ? File "clientStuff.py", line 18, in ? ImportError: No module named rpm [root@router root]# rpm -qi yum Name : yum Relocations: (not relocateable) Version : 1.97 Vendor: (none) Release : 1 Build Date: Thu 24 Apr 2003 10:55:28 PM EDT Install date: Thu 24 Apr 2003 10:55:47 PM EDT Build Host: router.basement.lan Group : System Environment/Base Source RPM: yum-1.97-1.src.rpm Size : 236744 License: GPL Signature : (none) URL : http://www.dulug.duke.edu/yum/ Summary : RPM installer/updater Description : Yum is a utility that can check for and automatically download and install updated RPM packages. Dependencies are obtained and downloaded automatically prompting the user as necessary.