About Pyyaml Error Problem solving

Source: Internet
Author: User

Transferred from: http://www.fwqtg.net/%E5%85%B3%E4%BA%8Epyyaml%E6%8A%A5%E9%94%99%E9%97%AE%E9%A2%98%E8%A7%A3%E5%86%B3.html

Everyone in the installation of Ansible or OpenStack may encounter the following similar error, beginning I also baffled its solution, finally found very simple, shared to everyone, to avoid similar problems.

Ansible Error:

Error:package:ansible-1.9.1-1.el6.noarch (Epel)
Requires:pyyaml
You could try Using–skip-broken to work around the problem
You could try Running:rpm-va–nofiles–nodigest

OpenStack Error:

Yum Install Openstack-keystone python-keystoneclient-y
Error:
Error:package:python-oslo-messaging-1.3.0.2-4.el6.noarch (Openstack-icehouse)

Requires:pyyaml

Check a lot of user data, the problem occurs a lot but there is no solution.

Cause of the problem:

Yum source problem, I locally set up the local Yum source and Epel source for the disc, but pyyaml.x86_64 0:3.10-3.1.el6 this package is not in these two Yum sources, set 163 or other open source image yum Source can be

CDs or ISO are generally divided into two parts, some infrequently used expansion packs are in CD2

Epel Source is a supplement and extension of CentOS or redhat source, which is not equivalent

About Pyyaml Error Problem solving

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.