$ python3 attack.py Traceback (most recent call last): File "attack.py", line 2, in <module> import socks ImportError: No module named 'socks' 

What to do? That just did not do, nothing helped.

  • Obviously, in the file of attack.py in the second line, the socks module is imported, and the interpreter of such a module could not be found anywhere and gave the corresponding error. Do you for some reason have confidence that this module should have been? - Alexey Reytsman
  • On my main VDS everything is fine, but there is some kind of error - Pasha

1 answer 1

Install the PySocks library on the machine where you run the script.

 pip install PySocks