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

조회 수: 3 (최근 30일)
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
iSinnerman
iSinnerman 2019년 12월 4일
Solved by reinstalling Python with custom options to ensure environment variables in windows were set.

댓글을 달려면 로그인하십시오.

채택된 답변

Can Wu
Can Wu 2019년 12월 5일
I'm having the same issue. Would you mind elaborating what you have done to solve the problem?
Thanks!
Kevin
  댓글 수: 2
Can Wu
Can Wu 2019년 12월 5일
Solved. Just need to add Python to environment variables.
Mohamed Abdelaziz
Mohamed Abdelaziz 2020년 4월 15일
I think it can be solved by running matlab as adminstrator.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

iSinnerman
iSinnerman 2019년 12월 7일
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).

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by