PySocks 1.6.8 is using deprecated features that will cause an error in 3.10. PySocks 1.7 fixes the issue The PySocks required version should be changed.