Cloud image installs conflicting Python packages
The cloud image installs cloud-init's Python dependencies (and theirs) directly into the system site-packages. e.g.:
- cloudinit
- cryptograpy
- jinja2
- jsonpatch
- jsonschema
- markupsafe
- oauthlib
- urllib3
... and many more. This conflicts with any Pacman-managed packages that are installed later, either directly or as dependencies -- causing those installs to fail.
Probably the correct thing to do would be to use the cloud-init package (from pacman, not pip!) directly. Failing that, using a venv should help.