Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • Thank you! I tried running the first step, I am getting some script related error as below (I already installed netaddr): from netaddr import IPAddress ImportError: No module named netaddr
    – Pawan
    Commented Apr 9, 2022 at 23:28
  • try logging in and running your script normally
    – puma
    Commented Apr 9, 2022 at 23:37
  • If I execute the python script by logging in to the server directly, then it is running fine. But when I am trying to execute via my local system using the command you provided, it is giving the same error
    – Pawan
    Commented Apr 9, 2022 at 23:54
  • Try creating script on the remote machine with #!/bin/bash python script.py and execute the script
    – puma
    Commented Apr 9, 2022 at 23:58
  • I created a test script that worked fine but with my existing script it is throwing the error "No module named netaddr"
    – Pawan
    Commented Apr 11, 2022 at 19:34