This application is failed to start because it could not find or load Qt platform plugin "windows"

53 ビュー (過去 30 日間)
This is the error message I receive when I try to call python file that plots the graph. Apparently it has something to do with matplotlib. I've tried to look in internet for solution. In youtube there's video suggesting copying "platform" folder and pasting it into "bin" folder. However I couldnt find it in my miniconda nor AppData folders.
What could be the alternative solution? I need this graph but I can't get it without running python script
  1 件のコメント
Esha Chakraborty
Esha Chakraborty 2022 年 4 月 12 日
編集済み: Esha Chakraborty 2022 年 4 月 12 日
Hi Leonardo,
Can you please share your system/OS details and the crash log?

サインインしてコメントする。

回答 (2 件)

Esha Chakraborty
Esha Chakraborty 2022 年 4 月 14 日
Hi Leonardo,
Since you have not shared the crash log, a detailed insight is not possible as of yet. Hence judging from other similar occurrences, this crash seems to be being caused by a problem with the Qt library installation on your system. You will likely need to re-install or update your "windows" plugin for Qt. For more information regarding fixing the Qt installation issue, I suggest you reach out to a related Linux forum, as this issues is outside of MATLAB.
Additionally, please ensure that you are using an officially supported distribution of Linux for MATLAB. You can find the list of supported version here.

Ilker Golcuk
Ilker Golcuk 2022 年 7 月 9 日
編集済み: Ilker Golcuk 2022 年 7 月 10 日
I have encountered the same problem while calling matplotlib.pyplot methods from Matlab R2022a Update 3. The following two-step approach has solved the problem on Windows 10.
Step 1) In the Anaconda Prompt, run the following code:
pip install PyQt5
Step 2) In Matlab, set the execution mode as out-of-process with the following code.
pyenv("ExecutionMode","OutOfProcess")

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by