필터 지우기
필터 지우기

Python commands require a supported version of CPython. See Getting Started with Python.

조회 수: 13 (최근 30일)
Hi, i already call python before.
woke up in the morning and this issue coming out..
how can i fix it?

답변 (1개)

Jaswanth
Jaswanth 2024년 6월 12일
Hi,
In regard to the error ‘Python commands require a supported version of CPython’ you have encountered, following response by MathWorks Support Team could be helpful:
As mentioned in the reference provided above, may indicate one of the following issues, depending on your platform.
Windows: You may have installed Python from the Microsoft store. MATLAB does not support ‘CPython’ versions from the Microsoft store. If this is the case, install a distribution, such as those found at https://www.python.org/downloads/ .
Linux and Mac: You may have installed Python without configuring the build with the "--enable-shared" flag. If this is the case, reinstall Python with this flag enabled.
If MATLAB does not recognize the new Python installation in neither of the cases, you can verify by running the following command in the MATLAB command window.
>>pyenv
I hope the information provided above is helpful.

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by