Re: python trouble after upgrade fc6 to fc7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2007-10-01 at 06:47 -0400, lee wrote:
> Upgraded from fc6 to fc7 and now programs using python fail. Failing
> programs are yum, Rhythmbox and printer config, system will not print. I
> match python versions with  a working  pc and they  match.  Any ideas
> welcome.
> 
> Lee
> 
> yum  error
> >    No module named rpm
> > It's possible that the above module doesn't match the
> > current version of Python, which is:
> > 2.5 (r25:51908, Apr 10 2007, 10:29:13) 
> > [GCC 4.1.2 20070403 (Red Hat 4.1.2-8)]
> 
> yumex error
> > RuntimeError: Bad magic number in .pyc file
> 
> rhythmbox error
> > rhythmbox: error while loading shared libraries: libpython2.4.so.1.0: cannot
> 
>   open shared object file: No such file or directory
> 
> If I type lp file-name  it lights the light on the printer but does not
> print. If I open printer from system menu nothing happens.
> 
> system-config-printer  error
> > Traceback (most recent call last):
> >   File "/usr/share/system-config-printer/system-config-printer.py", line 40, in <module>
> >     import cups
> > ImportError: No module named cups
> 
> Thanks again
> Lee
> 
> 
> 

I ran into the exact same thing this weekend.  I downloaded and
installed (forced install, BTW, using "rpm -ihv --force <pkg>") the
python, XML2, XSLT, and rpm packages, then everything cooked along.  I
figured out what I needed by grepping what python and rpm FC6 packages
were still installed after I upgraded to F7, and what they depend on.

BTW, after I got yum to work and ran "yum update," it updated over 400
packages.  So start it and go read a book or two. ;-]


-- Mark C, Allman, PMP
-- Allman Professional Consulting, Inc.
-- www.allmanpc.com, 617-947-4263

BusinessMsg -- the secure, managed, J2EE/AJAX Enterprise IM/IC solution




-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux