What version of python is supported by r2017a
조회 수: 12 (최근 30일)
이전 댓글 표시
I have Matlab R2017a on a Mac (os 10.11.6) and would like to install the Matlab engine for python. Here (<https://www.mathworks.com/help/matlab/getting-started-with-python.html>) it says that python 3.6 is supported, but when I try to install I get an error saying explicitly that python 3.6 is not supported. Do I need to update my Matlab version?
> cd /Applications/MATLAB_R2017a.app/extern/engines/python
> python setup.py install
Traceback (most recent call last):
File "setup.py", line 15, in <module>
'is %s' % _version)
OSError: MATLAB Engine for Python supports Python version 2.7, 3.4 and 3.5, but your version of Python is 3.6
>
댓글 수: 0
채택된 답변
Steven Lord
2018년 3월 27일
The online documentation is for the current release of MATLAB (which is currently release R2018a) and as such may describe functionality not available to you if you're using an older release.
According to the Release Notes support for Python 3.6 was introduced in release R2017b. In release R2017a, Python 3.4 and 3.5 are supported.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Call MATLAB from Python에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!