It appears there is an issue installing CoolProp from within Matlab when using Python v. 3.9 (which was released in early October). Issuing the command "[v,e] = pyversion; system([e,' -m pip install --user -U CoolProp'])" results in the following:
Using legacy 'setup.py install' for CoolProp, since package 'wheel' is not installed.
Installing collected packages: CoolProp
Running setup.py install for CoolProp: started
Running setup.py install for CoolProp: finished with status 'error'
ERROR: Command errored out with exit status 1:
Reverting to Python v. 3.8 resolves the problem.
I don't see anything about this here, so I'm posting this to make others aware of the issue. I take no credit for figuring this out. A couple of my students ran into the problem and our IT department found the solution.