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

5 vues (au cours des 30 derniers jours)
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.

Réponses (1)

Steven Lord
Steven Lord le 30 Juin 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."

Catégories

En savoir plus sur Call MATLAB from Python dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by