Can't import matlab.engine for python on M1 MAX chips after I successfully installed the matlab engine.

6 次查看(过去 30 天)
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.

回答(1 个)

Steven Lord
Steven Lord 2022-6-30
The page for the MATLAB R2022a Native Apple Silicon Platform Open Beta states, in part, that "MATLAB Engine API for Python is not available."

类别

Help CenterFile Exchange 中查找有关 Call MATLAB from Python 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by