Fail to install matlab engine for Python:'The installation of MATLAB is corrupted'

9 ビュー (過去 30 日間)
Yulin Xu
Yulin Xu 2018 年 3 月 1 日
回答済み: Swasti 2025 年 7 月 10 日
Matlab 2017b, MacOS 10.11.6, python 3.6.2
I run the code
python3.6 setup.py install
An error comes up
Xu-MBPde-MacBook-Pro:ovm xu_mbp$ sudo python3.6 setup.py install
running install
running build
running build_py
error: The installation of MATLAB is corrupted. Please reinstall MATLAB or contact Technical Support for assistance.
What can i do to fix it?
  2 件のコメント
Jan
Jan 2018 年 3 月 1 日
Just to be sure: Did you follow the given advice already?
Please reinstall MATLAB or contact Technical Support for assistance.
Yulin Xu
Yulin Xu 2018 年 3 月 1 日
yes i have reinstalled my matlab.

サインインしてコメントする。

回答 (1 件)

Swasti
Swasti 2025 年 7 月 10 日
Try installing using the "python -m pip install ." command instead.
There is more information on the MATLAB Engine installation page here:

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by