"No compatible version of MATLAB was found." with Matlab R2021b

Open
#17 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
matlab, python
Domain
devtools

Research direction

Start with the matlabengine installation entry point and the linked full console log, reproducing the setup in an Ubuntu 20.04.5 Docker container with MATLAB R2021b and the stated LD_LIBRARY_PATH. Done means the installation recognizes MATLAB R2021b as compatible instead of reporting that no compatible version was found.

Written by the indexing model from the issue text.

Description

Getting an error:

RuntimeError: No compatible version of MATLAB was found. This feature supports MATLAB 9.9 (R2020b) through 9.13 (R2022b), inclusive.

while trying to install matlabengine on Ubuntu 20.04.5 LTS inside a Docker container.
The installed MATLAB version is R2021b
The LD_LIBRARY_PATH is properly set to /opt/matlab/bin/glnxa64 while MATLAB is installed to /opt/matlab/.

The full console log: https://gist.github.com/plashchynski/fe3760a0444c1203ac8e92e8048237f8

Dominant language
Python
Stars
97
Forks
13
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mathworks/matlab-engine-for-python

All issues in mathworks/matlab-engine-for-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.