Check current installation
MATLAB:
>> pyenv
ans =
PythonEnvironment with properties:
Version: "3.7"
Executable: "C:\Users\Paul\AppData\Local\Programs\Python\Python37\python.EXE"
Library: "C:\Users\Paul\AppData\Local\Programs\Python\Python37\python37.dll"
Home: "C:\Users\Paul\AppData\Local\Programs\Python\Python37"
Status: NotLoaded
ExecutionMode: InProcess
OR
>> pyenv
ans =
PythonEnvironment with properties:
Version: ""
Executable: ""
Library: ""
Home: ""
Status: NotLoaded
ExecutionMode: InProcess
Select supported version
See current MATLAB documentation
Install or update
Got to python.org, downloads, and select a supported version (probably not the latest).