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

py command not present on Rocky Linux #87

Open
spartan782 opened this issue Apr 11, 2023 · 1 comment
Open

py command not present on Rocky Linux #87

spartan782 opened this issue Apr 11, 2023 · 1 comment

Comments

@spartan782
Copy link
Contributor

The following fails on Rocky because py is not a recognized command.

py 'jinja2.Template(open("templates/isolinux.cfg.j2").read()).render(json.loads(sys.stdin.read()))' | \

py 'jinja2.Template(open("templates/grub.cfg.j2").read()).render(json.loads(sys.stdin.read()))' | \

py 'jinja2.Template(open("templates/os-release.j2").read()).render(json.loads(sys.stdin.read()))' | \

py 'jinja2.Template(open("templates/buildstamp.j2").read()).render(json.loads(sys.stdin.read()))' | \

I tried locally updating the command to python3 but the script errors out with a file not found.

@spartan782
Copy link
Contributor Author

Solvable by installing python3-jinja2 or creating a virtual environment and installing jinja2-cli.

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

1 participant