MATLAB Answers

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

28 views (last 30 days)
iSinnerman
iSinnerman on 4 Dec 2019
Commented: Mohamed Abdelaziz on 15 Apr 2020
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 Comment

iSinnerman
iSinnerman on 4 Dec 2019
Solved by reinstalling Python with custom options to ensure environment variables in windows were set.

Sign in to comment.

Accepted Answer

Can Wu
Can Wu on 5 Dec 2019
I'm having the same issue. Would you mind elaborating what you have done to solve the problem?
Thanks!
Kevin

More Answers (1)

iSinnerman
iSinnerman on 7 Dec 2019
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).

Tags

Products


Release

R2019b