When executing 'from urllib import request' in the console of the version 3.0.12, I get an error 'ModuleNotFoundError: No module named '_socket''.
After adding all *.pyd from an installed Python 3.10.2 (from DLLs folder) to C:\Program Files\Notepad++\plugins\PythonScript, it is working fine.