I think the problem is that the parser['group']['key'] syntax was introduced in Python 3, so when you run under python 2.7 (which is still supported in Rocky), you get the "ConfigParser instance has no attribute '__getitem__'" error.
See https://docs.python.org/3/whatsnew/3.2.html#configparser
I think the problem is that the parser[ 'group' ]['key' ] syntax was introduced in Python 3, so when you run under python 2.7 (which is still supported in Rocky), you get the "ConfigParser instance has no attribute '__getitem__'" error.
See https:/ /docs.python. org/3/whatsnew/ 3.2.html# configparser