Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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).

Grab the Windows 64-bit install download, and run

Check the “Add to path” option and install

If updating, remove old version

Configure Python

Check installation:

  • Open a Command Prompt

  • py --version

  • py -m pip --version

  • No labels