Solution for errors in importing libxml2.so. 2 using Python
Source: Internet
Author: User
Solution for errors in importing libxml2.so. 2 to Python-Linux Enterprise Application-Linux server application information. See the following for details. Some friends have encountered such problems, especially those who use Fedora. The following message is prompted when an error occurs during the upgrade:
Upgrading all packages with command yum-y update ..
There was a problem importing one of the Python modules
Required to run yum. The error leading to this problem was:
Libxml2.so. 2: cannot open shared object file: No such file or directory
Please install a package which provides this module, or
Verify that the module is installed correctly.
It's possible that the above module doesn't match
Current version of Python, which is:
2.5.1 (r133: 54863, Oct 30 2007, 13:54:11)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-33)]
If you cannot solve this problem yourself, please go
The yum faq:
Http://wiki.linux.duke.edu/YumFaq
... Upgrade failed!
So solve it, I will tell you, first on the internet search "libxml2.so. 2", I search here after opening the http://rpmfind.net/linux/rpm2html/search.php? Query = libxml2.so. 2
Download the corresponding "libxml2.so. 2" rpm file from it and upload it to the server. After running and installing the file, it will be ready for use!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service