cfn2py SyntaxError with missing parentheses
See original GitHub issuecfn2py
in troposphere
version 2.4.6 is failing with
File "/usr/bin/cfn2py", line 52 print 'from troposphere import Base64, Select, FindInMap, GetAtt, GetAZs, Join, Output, If, And, Not, Or, Equals, Condition' ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('from troposphere import Base64, Select, FindInMap, GetAtt, GetAZs, Join, Output, If, And, Not, Or, Equals, Condition')?
At first I thought it may still be a Python2 script, but right at the top it says
#!/usr/bin/python3.6
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
What does "SyntaxError: Missing parentheses in call to 'print ...
This error message means that you are attempting to use Python 3 to follow an example or run a program that uses the...
Read more >Python Error · Issue #8617 - Missing parenthesis - GitHub
Missing Parenthesis When i tried to use azure-cli for the first time after ... SyntaxError: Missing parentheses in call to 'print'.
Read more >What does "SyntaxError: Missing parentheses in call to 'print ...
PYTHON : What does " SyntaxError : Missing parentheses in call to 'print'" mean in Python? [ Gift : Animated Search Engine ...
Read more >python missing parentheses in call to 'print' mean in Python?
While running the above code if you are getting this “SyntaxError: Missing parentheses in call to 'print'” error it means that you are...
Read more >Python SyntaxError: Missing parentheses in call to 'print'
On Career Karma, learn about the Python SyntaxError: Missing parentheses in call to 'print' error, how the error works, and how to solve...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just release 2.4.7 which has the latest cfn2py script.
Update:
I cloned the repo, then did
and this same version number package now has the correct
cfn2py
script (and it looks like some other fixes too!). Should the version actually say 2.4.7 which is why pypi didn’t pick up the fixes?