OSError: MATLAB Engine for Python supports Python version 2.7, 3.5 and 3.6 but your version of Python is 3.7

20 ビュー (過去 30 日間)
We recently installed Python 3.7.2.
Matlab engine was working with the earlier 2.7, but now when we try installing the engine, getting the below error.
"OSError: MATLAB Engine for Python supports Python version 2.7, 3.5 and 3.6 but your version of Python is 3.7"
Although, Matlab supported versions indicates that 3.7 is supported, the "setup.py" does not seem to have 3.7 in the supported versions.
Where can I download the latest setup.py.
Is modifying the setup.py to include 3.7 sufficient ?

採用された回答

Steven Lord
Steven Lord 2020 年 3 月 27 日
Support for Python 3.7 was added in release R2019a. The Release field to the right of this question indicates you're using release R2018b, one release prior to that.
  2 件のコメント
Makis
Makis 2021 年 6 月 4 日
I have the same problem. I am using matlab 2019a. Can I install the matlab engine using python 3.8 ? Or I need to upadte matlab to 2020 version?
Steven Lord
Steven Lord 2021 年 6 月 11 日
According to this documentation the first release compatible with Python 3.8 was release R2020b.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCall Python from MATLAB についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by