Matlab 2019a Ubuntu 20 Python 3.7.12 "Path argument does not specify a valid executable"
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello,
we're trying to use Python 3.7.12 on a Matlab Docker 2019a Image on a Ubuntu v20 installation. On the windows counterpart this works fine setting it up via "pyversion($PATH_TO_PYTHON_ON_C)". However unfortunately on Ubuntu this fails with 3.7.12, whereas it's working with 3.8 (but it fails to run it, since it's incompatible with 2019a, goes only up to 3.7) saying "Path argument does not specify a valid executable"
Please see the screenshot for the detailed error message, Python 3.7.12 is definetly there and can be started.
Thanks for your answers!
댓글 수: 0
답변 (1개)
Al Danial
2022년 4월 21일
Does the command pyenv work in 2019a? If yes, what output does it show? 2020b uses pyenv to show what MATLAB thinks the Python exe is, and if it isn't found pyenv can be used to set it.
참고 항목
카테고리
Help Center 및 File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!