I made a fresh install from python 3.10.1, installed matplotlib, which installs pillow, but then the import in python failed.