[Fixed]-ImportError: DLL load failed: %1 is not a valid Win32 application when importing _socket

1👍

OP solved the problem themselves, this solution was edited into the question:


I solved the issue, it looks like I had two versions of Python
installed and didn’t know it. I uninstalled both versions and
reinstalled the x86-64 version

Leave a comment