Changing version of Python in MATLAB

26 visualizaciones (últimos 30 días)
Giancarlo Meccariello
Giancarlo Meccariello el 2 de Dic. de 2020
Respondida: Steven Lord el 2 de Dic. de 2020
I try to change the version of the Python interpreter in MATLAB.
I downloaded the python version 3.7 on my mac. however I don't know how to chance it on MATLAB.
Could someone please help me out with this with proper codes?
>> pyenv
ans =
PythonEnvironment with properties:
Version: "2.7"
Executable: "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python"
Library: "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib"
Home: "/System/Library/Frameworks/Python.framework/Versions/2.7"
Status: NotLoaded
ExecutionMode: InProcess

Respuestas (1)

Steven Lord
Steven Lord el 2 de Dic. de 2020
See the "Set Python Version on Mac and Linux Platforms" section on this documentation page.

Categorías

Más información sobre Call Python from MATLAB en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by