After running the Python program in Matlab, the parquetread function cannot be used

1 次查看(过去 30 天)
The parquetread function runs smoothly without running Python programs in Matlab.
But when matlab runs the Python program, the parquetread function cannot be used. The error is as follows:
Caught "std:: exception" Exception message is:
Loading D: \ Program \ MATLAB \ R2021a \ bin \ win64 \ builtins \ matlab_toolbox_parque \ mwlibmwparque \ builtinimpl. dllfailed with error: The specified program cannot be found.
: state not recoverable: state not recoverable
I use
Matlab2021a version
Python 3.8 version
How can I solve it? Thank you.
  3 个评论
simon
simon 2024-6-14
Thank you for your answer.
The problem is that the parquetread function has no issues when Python is not running, until I ran Python in Matlab. This is very strange.
simon
simon 2024-6-14
At the same time, I found that when running Python in Matlab, the entire Parquet related functions cannot be used.
The problems that arise are all the same.
Including:
parquetread,
parquetwrite,
parquetinfo,
parquetinfo
parquetDatastore
That is to say, when running Python in Matlab, the entire Parquet tool cannot be used!
Matlab needs to be closed again for the Parquet tool to function properly. But once Python is run, the entire parquet related functions cannot be used!
Will all appear:
Caught "std:: exception" Exception message is:
Loading D: \ Program \ MATLAB \ R2021a \ bin \ win64 \ builtins \ matlab_toolbox_parque \ mwlibmwparque \ builtinimpl. dllfailed with error: The specified program cannot be found.
: state not recoverable: state not recoverable

请先登录,再进行评论。

回答(1 个)

Gayathri
Gayathri 2024-9-5
Hi @simon,
I understand that “parquetread” function throws error after running python program from MATLAB R2021a version. Please upgrade to MATLAB R2022a version to solve the issue.
You can download latest MATLAB releases from below link.https://www.mathworks.com/downloads/

类别

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