Installaton error when installing the Matlab API engine for python on windows.

I am trying to install the Matlab API engine for python. Unfortunately I get an error with this command in the Matlab command window: system('python setup.py install') The error is:
Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=2082640
ans =
9009

1 个评论

Solved by reinstalling Python with custom options to ensure environment variables in windows were set.

请先登录,再进行评论。

 采纳的回答

I'm having the same issue. Would you mind elaborating what you have done to solve the problem?
Thanks!
Kevin

更多回答(1 个)

Please see my answer to another post on installing the Matlab API engine. I've found by using Python 3.6, the install worked as per the instructions. I haven't got this working with Python 3.7. I had to uninstall Python 3.7 and install Python 3.6 (64 bit as the Matlab install is also 64 bit).

类别

帮助中心File Exchange 中查找有关 Call MATLAB from Python 的更多信息

产品

版本

R2019b

标签

Community Treasure Hunt

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

Start Hunting!

Translated by