Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MATLAB Engine Release R2024a Requires libpython3.x-dev Package on Ubuntu 24.04 LTS #43

Open
tpc8486 opened this issue Jul 8, 2024 · 0 comments

Comments

@tpc8486
Copy link

tpc8486 commented Jul 8, 2024

Description:

The MATLAB Engine for Python (release R2024a) on Ubuntu 24.04 LTS requires the installation of the libpython3.x-dev package. Without this package, the user encounters an error at src/matlab/init.py on lines 48-49:

from matlabmultidimarrayforpython import double, single, uint8, int8, uint16, \
    int16, uint32, int32, uint64, int64, logical, ShapeError, SizeError

Steps to Reproduce:

  • Install MATLAB Engine for Python R2024a on Ubuntu 24.04 LTS.
  • Attempt to run a Python script that uses the MATLAB Engine.

Expected Behavior:

The MATLAB Engine should run without errors if all necessary dependencies are installed.

Actual Behavior:

The script fails at src/matlab/init.py on lines 48-49 due to missing dependencies.

Workaround:

Installing the libpython3.x-dev package resolves the issue.

Suggested Resolution:

Update the installation documentation and dependency checks for MATLAB Engine to ensure the libpython3.x-dev package is installed on Ubuntu 24.04 LTS.

System Information:

  • MATLAB Engine Version: R2024a
  • Operating System: Ubuntu 24.04 LTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant