>>Qt 平台插件 "windows"<< 是什么,为什么它总是给我一个错误?

What is the >>Qt platform plugin "windows"<<, and why does it keep giving me an error?

我在制作图表时遇到了 VScode 和 Anaconda 的问题。我想绘制数据图表,但错误不断出现。我已经在下面显示了代码和错误。

代码:

import matplotlib.pyplot as plt
plt.plot([1, 2, 3, 4])
plt.ylabel('some numbers')
plt.show()

错误:

PS C:\Users\...\Documents\GitHub\Modelling-Cell-Growth-in-CFU> & C:/Users/.../Anaconda3/envs/rstudio/python.exe c:/Users/.../Documents/GitHub/Modelling-Cell-Growth-in-CFU/test.py      
This application failed to start because it could not find or load the Qt platform plugin "windows"
in "".

Available platform plugins are: minimal, offscreen, windows.

Reinstalling the application may fix this problem.

这个错误是什么意思?我该怎么办?我该如何解决?

额外信息: 我正在使用 VScode 和 Anaconda。我也在使用 windows.

正如@LudvigH 所说,主要问题是存在路径错误。在尝试解决所有路径问题后,什么也没有发生,所以我不得不删除任何归因于 Anaconda 和 Python 的内容。我有一些混合路径与香草python,它的点数和蟒蛇。

重新下载解决了这个问题,现在可以正常使用了。