Can't import matlab.engine for python on M1 MAX chips after I successfully installed the matlab engine.
4 views (last 30 days)
Show older comments
After I import matlab.engine, the terminal raises exceptions that ImportError: dlopen(/Applications/MATLAB_R2022a.app/extern/bin/maca64/matlabmultidimarrayforpython.cpython-39-darwin.so, 0x0002): tried: '/Applications/MATLAB_R2022a.app/extern/bin/maca64/matlabmultidimarrayforpython.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')).
Can you give me suggestions on how to solve this. Thank you.
0 Comments
Answers (1)
Steven Lord
on 30 Jun 2022
The page for the MATLAB R2022a Native Apple Silicon Platform Open Beta states, in part, that "MATLAB Engine API for Python is not available."
1 Comment
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!