Here are some commands I used to upgrade to python3.8:
The described issue is resolved by the python upgrade.