VMware Cloud Community
StephenMoll
Expert
Expert

Not All ESXi 6.5 Python Scripts Are Python-3 Compatible

I was taking a look at the prettyPrint.sh script as a means to examining what the cluster settings being pushed down to the hosts from vCenter.

On a v5.5 host I was able to experiment with it, and on v6.7. However my v6.5 test rig (VMware ESXi 6.5.0 build-5310538) the command fails with a syntax error in xmlpp.py at line 23. It is clear when looking at the script is in Python 2 syntax, i.e. no parentheses around the parameters for the 'print' command, whereas the version of Python installed is 3.5.3.

Is this just because the test rig is behind on 6.5 patches?

Tags (2)
0 Kudos
0 Replies