What version of python is supported by r2017a

12 visualizaciones (últimos 30 días)
Shafer
Shafer el 27 de Mzo. de 2018
Respondida: Steven Lord el 27 de Mzo. de 2018
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
>

Respuesta aceptada

Steven Lord
Steven Lord el 27 de Mzo. de 2018
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.

Más respuestas (0)

Categorías

Más información sobre Call MATLAB from Python en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by