1. _proto_tcp = socket.getprotobyname('tcp') OSError: protocol not found you should have a /etc/protocols file. It must have been deleted somehow. It comes from the netbase package. apt install -y netbase 2. File "/usr/local/lib/python2.7/dist-packag…