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)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
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."
1 commentaire
Voir également
Catégories
En savoir plus sur Call MATLAB from Python dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!