Install Matlab engine for Python on MacBook M1
120 views (last 30 days)
Show older comments
Hangyu LIU on 7 Jun 2022
Commented: Hangyu LIU on 6 Jul 2022
I tried to install Matlab engine for Python on Macbook M1.
But when I try to import matlab.engine, I met some errors.
Anyone know how to fix this error?
Thank you in advance.
(mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')),
(mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))
Shivam Lahoti on 3 Jul 2022
You might be missing some steps in the process. you shall refer to this article and try again.
Steven Lord on 3 Jul 2022
If you are using the MATLAB R2022a Native Apple Silicon Platform Open Beta, one of the limitations listed on that page is "MATLAB Engine API for Python is not available."
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!