ImportError: DLL load failed while importing QtWidgets

OS (e.g. Win8):
PsychoPy version (e.g. 2024.2.4 Py 3.10):
Standard Standalone Installation? (y/n) Yes
Do you want it to also run online? (y/n) Yes

I tried to run the standalone version and got this error:

ImportError: DLL load failed while importing QtWidgets

I searched the forums and github and saw that some people got the same error and solved it using different approaches.

I uninstalled Anaconda and still got the error. So I tried python pip install --upgrade --force-reinstall PyQt6 and transferred the content to the site-package folder (since I got the message that the folder was not writeable when I ran pip). Still didn´t work. So I tried the same, but with PyQt5 and it worked.

Is it ok to use PyQt5 instead of PyQt6? Is there a way to make it work with PyQt6 as it´s supposed to?