I know the last thing you want is more Windows issues but I figured I'd drop this here on the off-chance it helps.
PS > .\python
Python 3.12.3 (main, May 26 2024, 10:15:20) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.add_dll_directory()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'os' has no attribute 'add_dll_directory'
PS > bin/python
Python 3.11.4 (heads/pypack1:7127f06, May 25 2024, 19:26:57) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.add_dll_directory()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'os' has no attribute 'add_dll_directory'
I know the last thing you want is more Windows issues but I figured I'd drop this here on the off-chance it helps.