module 'platform' has no attribute 'dist' on Ubuntu 20.04

When I try to use the user module with a Ubuntu 20 host, I get a failure as follows:

jeff@ansible:~$ ansible-playbook -l owl j_ansible_user.yaml

PLAY [create ansible user] *****************************************************

TASK [user] ********************************************************************
fatal: [owl]: FAILED! => {“changed”: false, “module_stderr”: “Shared connection to owl closed.\r\n”, “module_stdout”: “Traceback (most recent call last):\r\n File "/tmp/ansible_bonof17k/ansible_modlib.zip/ansible/module_utils/basic.py", line 274, in get_distribution\r\nAttributeError: module ‘platform’ has no attribute ‘_supported_dists’\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n File "/tmp/ansible_bonof17k/ansible_module_user.py", line 2300, in \r\n main()\r\n File "/tmp/ansible_bonof17k/ansible_module_user.py", line 2205, in main\r\n user = User(module)\r\n File "/tmp/ansible_bonof17k/ansible_module_user.py", line 264, in new\r\n return load_platform_subclass(User, args, kwargs)\r\n File "/tmp/ansible_bonof17k/ansible_modlib.zip/ansible/module_utils/basic.py", line 332, in load_platform_subclass\r\n File "/tmp/ansible_bonof17k/ansible_modlib.zip/ansible/module_utils/basic.py", line 284, in get_distribution\r\nAttributeError: module ‘platform’ has no attribute ‘dist’\r\n”, “msg”: “MODULE FAILURE”, “rc”: 1}
to retry, use: --limit @/home/jeff/j_ansible_user.retry

PLAY RECAP *********************************************************************
owl : ok=0 changed=0 unreachable=0 failed=1

jeff@ansible:~$ ansible owl -b -a whoami
owl | SUCCESS | rc=0 >>
root

jeff@ansible:~$ ansible owl -m ping
owl | SUCCESS => {
“changed”: false,
“ping”: “pong”
}

The playbook is this:

Try removing "gather_facts: no" (i.e. do gather facts)

Jeff, what is Python version?