在 ubuntu 16.04 中安装 Anaconda?

在 ubuntu 16.04 中安装 Anaconda?

我正在尝试在 Ubuntu 16.04 中安装 Anaconda,但总是报告一些错误。我完全按照https://www.continuum.io/downloads#linux

当我执行 conda update conda 时,出现以下错误

$ /home/zhou/anaconda3/bin/conda update conda

Traceback (most recent call last):
  File "/home/zhou/anaconda3/lib/python3.5/site-packages/conda/fetch.py", line 112, in fetch_repodata
    timeout=(3.05, 60))
  File "/home/zhou/anaconda3/lib/python3.5/site-packages/requests/sessions.py", line 488, in get
    return self.request('GET', url, **kwargs)
  File "/home/zhou/anaconda3/lib/python3.5/site-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/zhou/anaconda3/lib/python3.5/site-packages/requests/sessions.py", line 596, in send
    r = adapter.send(request, **kwargs)
  File "/home/zhou/anaconda3/lib/python3.5/site-packages/requests/adapters.py", line 390, in send
    conn = self.get_connection(request.url, proxies)
  File "/home/zhou/anaconda3/lib/python3.5/site-packages/requests/adapters.py", line 290, in get_connection
    proxy_manager = self.proxy_manager_for(proxy)
  File "/home/zhou/anaconda3/lib/python3.5/site-packages/requests/adapters.py", line 184, in proxy_manager_for
    **proxy_kwargs
  File "/home/zhou/anaconda3/lib/python3.5/site-packages/requests/adapters.py", line 43, in SOCKSProxyManager
    raise InvalidSchema("Missing dependencies for SOCKS support.")
requests.exceptions.InvalidSchema: Missing dependencies for SOCKS support.

我也尝试在 Mac 上安装 anaconda,效果很好。有人知道如何解决上述问题吗?非常感谢!

答案1

我对上述问题有一个替代解决方案。当我从另一台计算机 ssh 到安装了 anaconda 的办公室计算机时,一切都运行良好。我可以从另一台计算机安装 anaconda 中的所有软件包。听起来很疯狂,但我现在正在以这种方式工作。有人能解决这个问题吗?

相关内容