"PyCapsule_Import could not import module 'libmwbuffer' "error when converting to numpy

42 次查看(过去 30 天)
Is this a bug unique to this version R2024a ? I have never seen such a error before, when I used the older version.

回答(1 个)

Spruha
Spruha 2025-1-23
Hi Seele,
I am assuming that you are using MATLAB Engine API for Python. The error “PyCapsule_Import could not import module ‘libmwbuffer’”, could be due to a compatibility issue.
To resolve this issue, ensure that your system meets the necessary requirements for running the MATLAB Engine API for Python.
Refer to the official documentation for detailed system requirements:

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by