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

2 vues (au cours des 30 derniers jours)
simon
simon le 14 Juin 2024
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 commentaires
simon
simon le 14 Juin 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 le 14 Juin 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

Connectez-vous pour commenter.

Réponses (1)

Gayathri
Gayathri le 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/

Catégories

En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by