Skip to content

ansible-content-parser fails with ModuleNotFoundError #45

@TamiTakamiya

Description

@TamiTakamiya

A newly installed ansible-content-parser (attempted on 2025-01-27) failed to run with ModuleNotFoundError. From the error message, it seems to be an issue related to newer versions of ansible-lint.

$ ansible-content-parser
Traceback (most recent call last):
  File "/var/tmp/work/work/venv/bin/ansible-content-parser", line 5, in <module>
    from ansible_content_parser.__main__ import main
  File "/var/tmp/work/work/venv/lib64/python3.11/site-packages/ansible_content_parser/__main__.py", line 30, in <module>
    from .lint import ansiblelint_main
  File "/var/tmp/work/work/venv/lib64/python3.11/site-packages/ansible_content_parser/lint.py", line 28, in <module>
    from ansiblelint.color import (
ModuleNotFoundError: No module named 'ansiblelint.color'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions