Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ImportError: No module named yaml #339

Open
ntkathole opened this issue Aug 8, 2018 · 1 comment
Open

ImportError: No module named yaml #339

ntkathole opened this issue Aug 8, 2018 · 1 comment

Comments

@ntkathole
Copy link
Contributor

satellite-clone failed as pyyaml module is not installed by default on system.

TASK [satellite-clone : Check for satellite version in metadata file] **********
****** 
fatal: FAILED! => {"changed": false, "module_stderr": "Shared connection to $hostname closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File \"/tmp/ansible_dazZ_6/ansible_module_parse_backup_metadata.py\", line 1, in <module>\r\n    import yaml\r\nImportError: No module named yaml\r\n", "msg": "MODULE FAILURE", "rc": 1}

Can we handle this with clone itself?

Workaround:
pip install pyyaml

@ekohl
Copy link
Collaborator

ekohl commented Jun 15, 2021

Is this still relevant? It feels like a packaging bug.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants