MATLAB engine deploy error

I am trying to deploy a Dash app with the MATLAB engine. Has someone experienced something similar?

RuntimeError: MATLAB R2023b installation not found. Install to default location, or add <matlabroot>/bin/glnxa64 to LD_LIBRARY_PATH, where <matlabroot> is the root of a MATLAB R2023b installation.
Nov 21 09:55:19 PM    ----------------------------------------
Nov 21 09:55:19 PM    ERROR: Failed building wheel for matlabengine
Nov 21 09:55:19 PM  Failed to build matlabengine
Nov 21 09:55:19 PM  ERROR: Could not build wheels for matlabengine which use PEP 517 and cannot be installed directly
Nov 21 09:55:19 PM  WARNING: You are using pip version 21.2.3; however, version 23.3.1 is available.
Nov 21 09:55:19 PM  You should consider upgrading via the '/opt/render/project/src/.venv/bin/python3.10 -m pip install --upgrade pip' command.
Nov 21 09:55:19 PM  ==> Build failed šŸ˜ž

Hi there,

Our Native Environments do not include a MATLAB installation so you are going to need to install this as part of your build script. Iā€™m not sure if this is possible without root permissions. I think you also need a license for MATLAB.

You could also look at using the MATLAB docker image: https://hub.docker.com/r/mathworks/matlab.

Regards,

Keith
Render Support, UTC+10 :australia:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.