I've found that the PySide2 wheels on pypi don't work with Blender's embedded Python because they were compiled using a different version of Microsoft Visual Studio. I think the wheels on pypi where probably compiled against a more recent version of Python 3.9 (Blender uses Python 3.9.2).
I've found that the PySide2 wheels on pypi don't work with Blender's embedded Python because they were compiled using a different version of Microsoft Visual Studio. I think the wheels on pypi where probably compiled against a more recent version of Python 3.9 (Blender uses Python 3.9.2).
Here are some wheels I built for Windows that are compatible! https://github.com/danbradham/wheels