I made a fresh install from python 3.10.1, installed matplotlib, which installs pillow, but then the import in python failed.
WARNING: You are using pip version 19.2.3, however version 21.1.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.