Several errors in plugins ("windows")
Unsolved
General and Desktop
-
Hello! I'm having an error trying to run a script that uses PySide6:
(base) C:\Users\usr\OneDrive\Documentos\TUM\HiWi\Projects\ITManager>python main.py qt.core.plugin.factoryloader: checking directory path "C:/Users/usr/anaconda3/Library/plugins/platforms" ... qt.core.plugin.factoryloader: looking at "C:/Users/usr/anaconda3/Library/plugins/platforms/qdirect2d.dll" qt.core.plugin.loader: Failed to find metadata in lib C:/Users/usr/anaconda3/Library/plugins/platforms/qdirect2d.dll: 'C:/Users/usr/anaconda3/Library/plugins/platforms/qdirect2d.dll' is not a valid Windows DLL (.qtmetadata section has incorrect magic) qt.core.plugin.factoryloader: "Failed to extract plugin meta data from 'C:/Users/usr/anaconda3/Library/plugins/platforms/qdirect2d.dll': 'C:/Users/usr/anaconda3/Library/plugins/platforms/qdirect2d.dll' is not a valid Windows DLL (.qtmetadata section has incorrect magic)" not a plugin qt.core.plugin.factoryloader: looking at "C:/Users/usr/anaconda3/Library/plugins/platforms/qminimal.dll" qt.core.plugin.loader: Failed to find metadata in lib C:/Users/usr/anaconda3/Library/plugins/platforms/qminimal.dll: 'C:/Users/usr/anaconda3/Library/plugins/platforms/qminimal.dll' is not a valid Windows DLL (.qtmetadata section has incorrect magic) qt.core.plugin.factoryloader: "Failed to extract plugin meta data from 'C:/Users/usr/anaconda3/Library/plugins/platforms/qminimal.dll': 'C:/Users/usr/anaconda3/Library/plugins/platforms/qminimal.dll' is not a valid Windows DLL (.qtmetadata section has incorrect magic)" not a plugin qt.core.plugin.factoryloader: looking at "C:/Users/usr/anaconda3/Library/plugins/platforms/qoffscreen.dll" qt.core.plugin.loader: Failed to find metadata in lib C:/Users/usr/anaconda3/Library/plugins/platforms/qoffscreen.dll: 'C:/Users/usr/anaconda3/Library/plugins/platforms/qoffscreen.dll' is not a valid Windows DLL (.qtmetadata section has incorrect magic) qt.core.plugin.factoryloader: "Failed to extract plugin meta data from 'C:/Users/usr/anaconda3/Library/plugins/platforms/qoffscreen.dll': 'C:/Users/usr/anaconda3/Library/plugins/platforms/qoffscreen.dll' is not a valid Windows DLL (.qtmetadata section has incorrect magic)" not a plugin qt.core.plugin.factoryloader: looking at "C:/Users/usr/anaconda3/Library/plugins/platforms/qwindows.dll" qt.core.plugin.loader: Failed to find metadata in lib C:/Users/usr/anaconda3/Library/plugins/platforms/qwindows.dll: 'C:/Users/usr/anaconda3/Library/plugins/platforms/qwindows.dll' is not a valid Windows DLL (.qtmetadata section has incorrect magic) qt.core.plugin.factoryloader: "Failed to extract plugin meta data from 'C:/Users/usr/anaconda3/Library/plugins/platforms/qwindows.dll': 'C:/Users/usr/anaconda3/Library/plugins/platforms/qwindows.dll' is not a valid Windows DLL (.qtmetadata section has incorrect magic)" not a plugin qt.core.plugin.factoryloader: checking directory path "C:/Users/usr/anaconda3/platforms" ... qt.core.plugin.factoryloader: looking at "C:/Users/usr/anaconda3/platforms/qdirect2d.dll" qt.core.plugin.loader: Failed to find metadata in lib C:/Users/usr/anaconda3/platforms/qdirect2d.dll: 'C:/Users/usr/anaconda3/platforms/qdirect2d.dll' is not a valid Windows DLL (.qtmetadata section has incorrect magic) qt.core.plugin.factoryloader: "Failed to extract plugin meta data from 'C:/Users/usr/anaconda3/platforms/qdirect2d.dll': 'C:/Users/usr/anaconda3/platforms/qdirect2d.dll' is not a valid Windows DLL (.qtmetadata section has incorrect magic)" not a plugin qt.core.plugin.factoryloader: looking at "C:/Users/usr/anaconda3/platforms/qminimal.dll" qt.core.plugin.loader: Failed to find metadata in lib C:/Users/usr/anaconda3/platforms/qminimal.dll: 'C:/Users/usr/anaconda3/platforms/qminimal.dll' is not a valid Windows DLL (.qtmetadata section has incorrect magic) qt.core.plugin.factoryloader: "Failed to extract plugin meta data from 'C:/Users/usr/anaconda3/platforms/qminimal.dll': 'C:/Users/usr/anaconda3/platforms/qminimal.dll' is not a valid Windows DLL (.qtmetadata section has incorrect magic)" not a plugin qt.core.plugin.factoryloader: looking at "C:/Users/usr/anaconda3/platforms/qoffscreen.dll" qt.core.plugin.loader: Failed to find metadata in lib C:/Users/usr/anaconda3/platforms/qoffscreen.dll: 'C:/Users/usr/anaconda3/platforms/qoffscreen.dll' is not a valid Windows DLL (.qtmetadata section has incorrect magic) qt.core.plugin.factoryloader: "Failed to extract plugin meta data from 'C:/Users/usr/anaconda3/platforms/qoffscreen.dll': 'C:/Users/usr/anaconda3/platforms/qoffscreen.dll' is not a valid Windows DLL (.qtmetadata section has incorrect magic)" not a plugin qt.core.plugin.factoryloader: looking at "C:/Users/usr/anaconda3/platforms/qwindows.dll" qt.core.plugin.loader: Failed to find metadata in lib C:/Users/usr/anaconda3/platforms/qwindows.dll: 'C:/Users/usr/anaconda3/platforms/qwindows.dll' is not a valid Windows DLL (.qtmetadata section has incorrect magic) qt.core.plugin.factoryloader: "Failed to extract plugin meta data from 'C:/Users/usr/anaconda3/platforms/qwindows.dll': 'C:/Users/usr/anaconda3/platforms/qwindows.dll' is not a valid Windows DLL (.qtmetadata section has incorrect magic)" not a plugin qt.qpa.plugin: Could not find the Qt platform plugin "windows" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
I've read about this bug in some foruns (stackoverflow and here, basically) and I've tried to run some debug that I've read there:
- running
echo %QT_PLUGIN_PATH%
returns just%QT_PLUGIN_PATH%
; - I tried to download the
ListDlls
program, but I don't know which executable should be searched for in this case (I've tried python, but it didn't yield any results). - I've checked env variables for Qt related things, but found nothing;
- I've searched the whole
C:\
forqwindows.dll
files, I found at least 10 of them, but I don't know if I can just erase the recent added ones or which one I can erase;
- I've tried to reinstall both Python and Anaconda, to no success;
- I even tried to add one of the
qwindows.dll
location as a env variableQT_QPA_PLATFORM_PLUGIN_PATH
even though people disprove it, to no success.
And don't know what else to do... I'm thinking about a full reboot in my computer at this point. Any thoughts?
- running