Why Matlab does not see Python?
조회 수: 40(최근 30일)
I am trying to luch the python file using the pyrunfile, but got an error.
Verificatio of the python version all shows me the answer (see below), nevertheless that in comandn line i see Version 3.8.3:
What is the problem?
Thanks in advance
Yongjian Feng 2022년 2월 23일
matlab uses PATH env var to find python. Your python installation is in a local path. Try this in matlab command line:
If the path to your python is not there, then set the PATH env var in matlab command line
Abdurrahman Dayi 2022년 2월 23일
It might be the case that you are using a Matlab version that does not support python 3.8.
Kindly double check the supported python versions for your matlab version here: https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/python-compatibility.pdf