mathworks / matlab-engine-for-python

Other
69 stars 9 forks source link

incompatible with arm64 Macs? #13

Closed kyleniemeyer closed 7 months ago

kyleniemeyer commented 2 years ago

I'm trying to install this on my M1 Pro Mac with arm64 architecture. However, it looks like it may only be compatible with the previous CPU architecture.

After installing in a conda environment with Python 3.9 installed, using MATLAB_R2022a, and trying import matlab.engine, I get the error:

RuntimeError: Could not find directory: /Applications/MATLAB_R2022a.app/extern/engines/python/dist/matlab/engine/maca64

I can see that a maci64 directory is present in /Applications/MATLAB_R2022a.app/extern/engines/python/dist/matlab/engine/, however.

ugurbolat commented 2 years ago

experiencing the same issue...

himoto commented 1 year ago

Same issue.

skoldobskiy commented 1 year ago

Now works for R2023b. Probably the issue can be closed.