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

답변 (1개)

Steven Lord
Steven Lord 2020년 12월 2일

1 개 추천

See the "Set Python Version on Mac and Linux Platforms" section on this documentation page.

카테고리

도움말 센터 및 File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

제품

릴리스

R2020a

태그

질문:

2020년 12월 2일

답변:

2020년 12월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by