MATLAB Engine Release R2024a Requires libpython3.x-dev Package on Ubuntu 24.04 LTS
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python, ubuntu
- Ambito
- operating-systems, tooling
Direzione di ricerca
Start with src/matlab/init.py lines 48-49 and reproduce the R2024a failure on Ubuntu 24.04 LTS with and without libpython3.x-dev installed. Then locate the installation documentation and dependency checks; done means the documented setup and checks account for this package and the MATLAB Engine starts without the reported import error.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 97
- Fork
- 13
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di mathworks/matlab-engine-for-python
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
-
Support sparse array Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Failed to build matlabengine Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Tutte le issue di mathworks/matlab-engine-for-python
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100