`Python 3.5.3 (v3.5.3:1880cb95a742, Jan 16 2017, 16:02:32) [MSC v.1900 64 bit (AMD64)] on win32
Type “copyright”, “credits” or “license()” for more information.
import http.client
conn = http.client.HTTPConnection(“pytohn.com”)
conn.request(“GET”,"/")
Traceback (most recent call last):
File “<pyshell#2>”, line 1, in
conn.request(“GET”,"/")
File “c:\program files\python\lib\http\client.py”, line 1107, in request
self._send_request(method, url, body, headers)
File “c:\program files\python\lib\http\client.py”, line 1152, in _send_request
self.endheaders(body)
File “c:\program files\python\lib\http\client.py”, line 1103, in endheaders
self._send_output(message_body)
File “c:\program files\python\lib\http\client.py”, line 934, in _send_output
self.send(msg)
File “c:\program files\python\lib\http\client.py”, line 877, in send
self.connect()
File “c:\program files\python\lib\http\client.py”, line 849, in connect
(self.host,self.port), self.timeout, self.source_address)
File “c:\program files\python\lib\socket.py”, line 694, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File “c:\program files\python\lib\socket.py”, line 733, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11004] getaddrinfo failed
em đang code theo cái pydoc mà nó bị cái nỗi này giờ fix sao ạ .py5.3 ạ ,có phải cài thêm cái gì không ạ
`