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

조회 수: 3 (최근 30일)
simon
simon 2024년 6월 14일
답변: Gayathri 2024년 9월 5일
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