Hello PsychoPy developers,
I would like to report an issue that I encountered while trying to use PsychoPy on my personal Windows 11 computer. I previously had an older version of PsychoPy installed. After updating it, the application stopped launching. After investigating the problem, I discovered that Windows Smart App Control was preventing PsychoPy from loading some of its DLL files.
1. PsychoPy Standalone
The application fails to start with the following error:
ImportError: DLL load failed while importing _core:
Un criterio di controllo dell'applicazione ha bloccato il file.
Windows Event Viewer (CodeIntegrity → Operational, Event ID 3077) identifies the blocked file as:
C:\Program Files\PsychoPy\Lib\site-packages\wx\wxbase32u_vc140_x64.dll
The associated policy ID is:
0283ac0f-fff1-49ae-ada1-8a933130cad6
2. PsychoPy Studio 2026.2.4
I also installed PsychoPy Studio 2026.2.4, hoping that the newer application would work.
The Builder interface opens, but the Components panel remains stuck on “Loading Components…” and the following error occurs:
ImportError: DLL load failed while importing _socket:
Un criterio di controllo dell'applicazione ha bloccato il file.
The traceback shows that the failure occurs while importing Python’s socket module, using CPython 3.11.13 installed through uv.
Studio also displays:
Failed setup: Error invoking remote method
'python.liaison.start': reply was never sent
3. Windows security configuration
I checked the active Windows policies using:
citool.exe -lp
The results confirmed:
Policy: VerifiedAndReputableDesktop
Policy ID: 0283ac0f-fff1-49ae-ada1-8a933130cad6
Currently enforced: true
This policy ID matches the CodeIntegrity event that blocked the wxPython DLL in PsychoPy Standalone.
Smart App Control is enabled on my personal computer. I would prefer not to disable this Windows security feature just to run PsychoPy.
Could the PsychoPy team investigate compatibility with Windows Smart App Control, particularly the signing or reputation requirements for bundled DLLs and Python dependencies?
Thank you for your work on PsychoPy!
