GraphLab get.dependencies () дал мне эту ошибку "[Ошибка сокета Errno] [Errno 11001] сбой getaddrinfo" - PullRequest
0 голосов
/ 18 сентября 2018

Я использую Anaconda Python 2.7 в Windows 10 и столкнулся с этой ошибкой при запуске функции Graphlab get_dependencies ():

>>> gl.get_dependencies()

By running this function, you agree to the following licenses.

* libstdc++: https://gcc.gnu.org/onlinedocs/libstdc++/manual/license.html
* xz: http://git.tukaani.org/?p=xz.git;a=blob;f=COPYING

Downloading xz.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Continuum\anaconda3\envs\gl-env\lib\site-packages\graphlab\dependencies.py", line 33, in get_dependencies
    (xzarchive_file, xzheaders) = urllib.urlretrieve('http://tukaani.org/xz/xz-5.2.1-windows.zip')
  File "C:\Continuum\anaconda3\envs\gl-env\lib\urllib.py", line 98, in urlretrieve
    return opener.retrieve(url, filename, reporthook, data)
  File "C:\Continuum\anaconda3\envs\gl-env\lib\urllib.py", line 245, in retrieve
    fp = self.open(url, data)
  File "C:\Continuum\anaconda3\envs\gl-env\lib\urllib.py", line 213, in open
    return getattr(self, name)(url)
  File "C:\Continuum\anaconda3\envs\gl-env\lib\urllib.py", line 350, in open_http
    h.endheaders(data)
  File "C:\Continuum\anaconda3\envs\gl-env\lib\httplib.py", line 1053, in endheaders
    self._send_output(message_body)
  File "C:\Continuum\anaconda3\envs\gl-env\lib\httplib.py", line 897, in _send_output
    self.send(msg)
  File "C:\Continuum\anaconda3\envs\gl-env\lib\httplib.py", line 859, in send
    self.connect()
  File "C:\Continuum\anaconda3\envs\gl-env\lib\httplib.py", line 836, in connect
    self.timeout, self.source_address)
  File "C:\Continuum\anaconda3\envs\gl-env\lib\socket.py", line 557, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
IOError: [Errno socket error] [Errno 11001] getaddrinfo failed

Я пробовал этот процесс с указанием прокси-серверов и без них в качестве системных переменных в определителе переменных среды. Что является причиной проблемы и как я могу обойти эту проблему?

...