TypeError: 'module' object is not callable

it keeps coming up with this error
client = socket(socket.AF_INET, socket.SOCK_STREAM)
TypeError: ‘module’ object is not callable

Are you using python? This may help:

i am using python
and its now coming up with this error
in
server.bind((bind_ip,bind_port))
File “/usr/lib/python2.7/socket.py”, line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 99] Cannot assign requested address