MATLAB Engine Release R2024a Requires libpython3.x-dev Package on Ubuntu 24.04 LTS
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python, ubuntu
- Lĩnh vực
- operating-systems, tooling
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Python
- Star
- 97
- Fork
- 13
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của mathworks/matlab-engine-for-python
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
-
Support sparse array Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Failed to build matlabengine Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Tất cả issue của mathworks/matlab-engine-for-python
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100