Open Coloradohusky opened 2 years ago
Maybe this has something to do with it?
Comment out socket (SO_REUSEPORT) and posix (O_SHLOCK, O_EXLOCK) constants exposed on the API which are not implemented on GNU/Hurd. They would not work at runtime anyway.
Hi @Coloradohusky,
Seems I can not reproduce the same error (with python 3.10.6 on Mac).
Would you prefer run the command python -c "import socket; print(socket.__file__); print(dir(socket))"
to check the socket
module is properly imported and double check the existence of SO_REUSERPORT
attribute?
Trying out your example given in the documentation gives me this error:
Windows 10, Python 3.10.6.