{"id":457,"date":"2020-04-17T14:34:41","date_gmt":"2020-04-17T06:34:41","guid":{"rendered":"http:\/\/www.inhhh.com\/blog\/?p=457"},"modified":"2020-04-17T14:34:41","modified_gmt":"2020-04-17T06:34:41","slug":"undefined-symbol-pyunicodeucs4_asutf8string%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"http:\/\/www.inhhh.com\/blog\/?p=457","title":{"rendered":"undefined symbol: PyUnicodeUCS4_AsUTF8String\u89e3\u51b3\u529e\u6cd5"},"content":{"rendered":"\n<p>Centos \u9519\u8bef\u63d0\u793a<br><br><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>There was a problem importing one of the Python modules<br> required to run yum. The error leading to this problem was:<\/p>\n\n\n\n<p>\/usr\/lib\/python2.7\/site-packages\/rpm\/_rpm.so: undefined symbol: PyUnicodeUCS4_AsUTF8String<\/p>\n\n\n\n<p>Please install a package which provides this module, or<br>\nverify that the module is installed correctly.<\/p>\n\n\n\n<p>It&#8217;s possible that the above module doesn&#8217;t match the<br>\ncurrent version of Python, which is:<br>\n2.7.12 (default, Feb 21 2020, 16:46:36)<br>\n[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]<\/p>\n\n\n\n<p>If you cannot solve this problem yourself, please go to<br> the yum faq at:<br>   http:\/\/yum.baseurl.org\/wiki\/Faq<\/p>\n\n\n\n<p>\u89e3\u51b3\u529e\u6cd5\uff1a<br><br><\/p>\n\n\n\n<p>export PATH=$PYTHONPATH\/bin:$PATH<br>\nexport LD_LIBRARY_PATH=$PYTHONHOME\/lib:$LD_LIBRARY_PATH<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Centos \u9519\u8bef\u63d0\u793a There was a problem importing one of the Py<\/p>\n<div class=\"more-link\">\n\t\t\t\t <a href=\"http:\/\/www.inhhh.com\/blog\/?p=457\" class=\"link-btn theme-btn\"><span>Read More <\/span> <i class=\"fa fa-caret-right\"><\/i><\/a>\n\t\t\t<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-457","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=457"}],"version-history":[{"count":1,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/457\/revisions"}],"predecessor-version":[{"id":458,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/457\/revisions\/458"}],"wp:attachment":[{"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=457"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}