Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'ansible_collections' #18

Open
zaro0508 opened this issue May 26, 2022 · 1 comment
Open

ModuleNotFoundError: No module named 'ansible_collections' #18

zaro0508 opened this issue May 26, 2022 · 1 comment

Comments

@zaro0508
Copy link

I think the introduction of PR #17 caused additional errors. Now I'm getting additional packaging errors only after that PR was merged.

Run find . -type f -name "*.j2" -exec /tmp/jinja2-lint/j2lint.py '{}' +
Traceback (most recent call last):
  File "/tmp/jinja2-lint/j2lint.py", line 12, in <module>
    from ansible_collections.ansible.netcommon.plugins.filter import ipaddr
ModuleNotFoundError: No module named 'ansible_collections'
Error: Process completed with exit code 1.
zaro0508 added a commit to Sage-Bionetworks-IT/organizations-infra that referenced this issue May 26, 2022
Running the linter caused the following error..
`ModuleNotFoundError: No module named 'jinja2-ansible-filters'`

Go back to a working jinja2-lint version due to issue drm/jinja2-lint#18
zaro0508 added a commit to zaro0508/aws-infra that referenced this issue Jun 1, 2022
Go back to a working jinja2-lint version due to
issue drm/jinja2-lint#18
chriscroome added a commit to webarch-coop/jinja2-lint that referenced this issue Apr 21, 2023
@drm
Copy link
Owner

drm commented Jan 10, 2024

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

No branches or pull requests

2 participants