replace as root : cp socks.py /usr/local/lib/python2.7/dist-packages/socks.py