Traceback (most recent call last):

 "sqlmap.py", line 159, in main
init()

 "lib/core/option.py", line 2591, in init
_setDNSServer()

 "lib/core/option.py", line 2217, in _setDNSServer
conf.dnsServer = DNSServer()

 "lib/request/dns.py", line 65, in __init__
self._check_localhost()

 "lib/request/dns.py", line 87, in _check_localhost
if response and "google" in response:TypeError: a bytes-like object is required, not 'str'
Traceback (most recent call last):

 "<stdin>", line 1, in <module>

 "/usr/local/lib/python2.7/dist-packages/TwitterAPI/TwitterAPI.py", line 10, in <module>
from requests.packages.urllib3.exceptions import ReadTimeoutError, ProtocolErrorImportError: cannot import name ReadTimeoutError