Cant remove python wrapt module to install tensorflow

Installation of TensorFlow python package on Ubuntu 20.04 fails because script can’t remove python wrapt module.
Error msg says reason is wrapt is a distutils package.
I tried ‘sudo pip3 uninstall wrapt’ and got same error msg.

How to remove wrapt? Do I need to go into the source and muck around with the distutils code?

Lots of advice can be found here:

pip and your OS package manager are unlikely to work well together. If
you installed wrapt using your Ubuntu package manage, try removing it
with the same package manager.

Actually wrapt is a Python package. I found the problem disappears if I install TensorFlow in a venv environment, as recommended by the TensorFlow install page.