Open siennathesane opened 1 month ago
How did you install Python, and how are you running cfn-cli?
If cfn-cli or Python was installed via brew, I noticed this occurring with many of my tools that used the brew python as the base environment after an update to Python. I use pipx and reinstalled all tools with a 3.12 runtime created by pyenv.
I had to reinstall python from scratch to resolve the issues I was facing for the tools that do not work well within pipx.
I installed it with pip install cloudformation-cli
using my homebrew python
When running
cfn
on Python 3.12, it throws this syntax error: