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

1 view (last 30 days)
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 Comments
simon
simon on 14 Jun 2024
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 on 14 Jun 2024
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

Sign in to comment.

Answers (1)

Gayathri
Gayathri on 5 Sep 2024
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/

Products

Community Treasure Hunt

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

Start Hunting!