How to install python3-PyYAML on Amazon Linux
YAML parser and emitter for Python 3.7
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| Amazon Linux 2023 | — | — | — | |
| Amazon Linux 2012.03 | — | — | — | |
| Amazon Linux 2 | — | — | ✓ | 3.13 |
Description
YAML is a data serialization format designed for human readability and interaction with scripting languages. PyYAML is a YAML parser and emitter for Python 3.7. PyYAML features a complete YAML 1.1 parser, Unicode support, pickle support, capable extension API, and sensible error messages. PyYAML supports standard YAML tags and provides Python-specific tags that allow to represent an arbitrary Python object. PyYAML is applicable for a broad range of tasks from complex configuration files to object serialization and persistance.
Built for Amazon Linux.
Install
python3-PyYAML on Amazon Linux 2
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install python3-PyYAML
Package downloads require an active GetPageSpeed subscription — one repository for python3-PyYAML and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install python3-PyYAML on Amazon Linux?
Add the GetPageSpeed repository, then install the python3-PyYAML package with your system package manager.
Which Amazon Linux versions is python3-PyYAML available for?
python3-PyYAML is available for Amazon Linux 2.