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.
0 个评论
回答(1 个)
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."
1 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call MATLAB from Python 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!