Cannot built Matlab.engine python package
17 views (last 30 days)
Show older comments
Vadim Chavarha
on 19 Oct 2022
Answered: Vadim Chavarha
on 19 Oct 2022
I am trying to build python 2 matlab.engine package on Mac I tried Ventura and BigSur with the following matlab versions: matlab_R2022b_maci64 and matlab_R2022a_maci64
Installing for Python 3 works but for Python 2.7 does not even though Python 2.7 is listed as supported. The error I am getting is below. Any hints to resolve this?
File "setup.py", line 84, in _generate_arch_file
_arch = self._find_arch(_bin_dir)
File "setup.py", line 67, in _find_arch
raise EnvironmentError('The installation of MATLAB is corrupted. '
EnvironmentError: The installation of MATLAB is corrupted. Please reinstall MATLAB or contact Technical Support for assistance.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Call MATLAB from Python in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!