Home > No Module > Python Import Yum Error

Python Import Yum Error

Contents

Check it out and see if that can help you accomplish what you need. And don't forget to reinstall the popt rpm afterwards too. Perhaps they are the same, I don't know. The error leading to this problem was: No module named cElementTree Please install a package which provides this module, or verify that the module is installed correctly. this contact form

please guide me scott3274621st January 2011, 04:27 PMHello, I would try # yum clean all # yum update yum if that does not work you can try removing _db under /var/lib/rpm got transaction error problems Which are? Was the Oceanic flight 815 pilot the only one attacked by the monster? Googled a bit and found out that python 2.6 has the right site packages and 2.7.5 does not: # rpm -ql python | grep "site-packages$" # rpm -ql yum | grep

Importerror: No Module Named Yum

You should install rpm-python-4.4.2-32. If you need a newer python then you either need to update to a newer CentOS version (i.e. 6 in this case) or you need to find an RPM that does And now the situation got even worse.. Yum now does this: # yum There was a problem importing one of the Python modules required to run yum.

to install it. -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ====================================================================== There are two kinds of pedestrians -- the quick and the dead. -- fedora-list mailing list fedora-list redhat This will leave default python in place and give a python2.7 command in /usr/local/bin/ instead. i thought that i've successfully install both 2.4 and 2.6 python without broken using EPEL repo --> am i doing the wrong step?http://www.question-defense.com/2009/12 ... It's Possible That The Above Module Doesn't Match The Current Version Of Python Interviewee offered code samples from current employer -- should I accept?

share|improve this answer answered Jun 22 at 16:50 Douglas Ohlhorst 341110 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign No Module Named Yum Redhat Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the You will probably have to use the --force option on the RPM as it has to override the package and any files. http://www.centos.org/forums/viewtopic.php?t=18383 Jokes about Monica's haircut Baking at a lower temperature than the recipe calls for How does a jet's throttle actually work?

If python2.6 is the python version officially supported by your distro, you should keep it that way. Yum No Module Named Rpm afterwards, yum clean all yum install works fine be aware of the transaction check error problems. Would there be no time in a universe with only light? after this, i am getting, There was a problem importing one of the Python modules required to run yum.

  • Browse other questions tagged rhel yum python or ask your own question.
  • Non payment on (Phone) Handset Lease Differentiation of sine in Fourier domain Font identification dificulties Would it be ok to eat rice using spoon in front of Westerners?
  • Can the notion of "squaring" be extended to other shapes?
  • Nested apply function at a list Is it a Good UX to keep both star and smiley rating system as filters?
  • current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list.
  • It's possible that the above module doesn't match the current version of Python, which is: 2.6.2 (r262:71600, Jun 4 2010, 18:28:58) [GCC 4.4.3 20100127 (Red Hat 4.4.3-4)] If you cannot solve
  • asked 2 years ago viewed 2106 times active 2 years ago Blog Stack Overflow Podcast #92 - The Guerilla Guide to Interviewing Related 2There was a problem importing one of the
  • Generating a sequence of zeros at compile time Rearrange colors in BarChart Words that are anagrams of themselves What is summer in Spanish? "Estío" vs "verano" How can I Improve gameplay
  • Steepest descent/gradient descent as dynamical system Is it safe for a CR2032 coin cell to be in an oven?

No Module Named Yum Redhat

I also check both version by typing "PYTHON" in terminal when i switched the symbolic link of the python and it works. page Can a nuclear detonation on Moon destroy life on Earth? Importerror: No Module Named Yum But this doesn't match the current version, according to the error. Python Install Yum Antsy permutations Newb question: Is it OK for the outside of my power supply to touch these metal brackets and screws?

Thanks Top cdaringe Posts: 8 Joined: 2014/03/11 08:18:02 Re: [SOLVED] No module named yum Quote Postby cdaringe » 2014/03/23 23:42:15 I had foolishly received this error when goofing around/doing-evil-things in my http://vealcine.com/no-module/python-import-error-windows.php It's possible that the above module doesn't match the current version of Python, which is: 2.7 (r27:82500, Aug 24 2012, 08:08:08) [GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] If you cannot solve Solution for your issues : Install / reinstall the OS. Why would breathing pure oxygen be a bad idea? Ansible Importerror: No Module Named Yum

For some reason the python binary called when you run yum on the command line is not the one who has the yum library installed. It's possible that the above module doesn't match the current version of Python, which is: 2.4.3 (#1, Feb 22 2012, 16:06:13) [GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] If you cannot solve extract archive file. ./configure make make install share|improve this answer edited May 11 '14 at 7:55 answered May 11 '14 at 7:19 Mortezaipo 9701722 when i try to run navigate here How do I translate "hate speech"?

asked 3 years ago viewed 13792 times active 1 month ago Blog Stack Overflow Podcast #92 - The Guerilla Guide to Interviewing Related 1Problems installing yum18Where are the rpm files after Python Yum Module Documentation When you get to the point where you would normally run 'make install', you want to run 'make altinstall'. Can Feudalism Endure Advanced Agricultural Techniques?

A Riddle - Mountains and Valleys more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life

Top dilersingh Posts: 4 Joined: 2013/12/07 21:38:19 Re: [SOLVED] No module named yum Quote Postby dilersingh » 2013/12/07 21:42:21 99% cases rpm is also broken due error as libpopt.so.0 missing, So that is why it is giving the following message It's possible that the above module doesn't match the current version of Python, which is: 2.7.5 (default, Sep 3 2013, 23:16:48) To If you're using an EOL version, might as well do a full backup and reinstall. No Module Named Yum Rhel 6 Browse other questions tagged python centos python-2.6 or ask your own question.

Help me out here because i am new to this stuff. Misuse of parentheses for multiplication Which lane to enter on this roundabout? (UK) Is it safe for a CR2032 coin cell to be in an oven? But yes it does make sense if rpm still works that would have been a lot less tedious. his comment is here How do I find out if there is an Esperanto club in my city?

The error leading to this problem was: No module named yum Please install a package which provides this module, or verify that the module is installed correctly. Did you try what the output told you to do? –jordanm Mar 10 '14 at 7:46 @jordanm isn't installing kind of difficult if the python program for yum itself more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Installing openerp on centos is quiet challenging..

change #!/usr/bin/python to specific version #!/usr/bin/python2.6 (in my os) share|improve this answer answered Mar 16 '14 at 18:32 user1334561 1212 add a comment| up vote 1 down vote You don't get Do primary and secondary coil resistances correspond to number of winds? Browse other questions tagged linux yum rpm centos or ask your own question. Which lane to enter on this roundabout? (UK) Can you chain Tempestuous magic and War Caster?

Where's the 0xBEEF? Human vs apes: What advantages do humans have over apes? How to flood the entire lunar surfaces? When upgrading Python make sure that you use --prefix to install it somewhere like: /usr/local/python2.7.12 or any where away from the system's Python files.

Not the answer you're looking for? The error leading to this problem was: No module named yum Please install a package which provides this module, or verify that the module is installed correctly.