【问题标题】:Can't open anaconda jupyter notebook: Network Error (dns_unresolved_hostname)无法打开 anaconda jupyter notebook:网络错误(dns_unresolved_hostname)
【发布时间】:2017-11-29 00:16:32
【问题描述】:

在我的 64 位 Windows 7 上,我在 C:\Anaconda3 中安装了 Anaconda3 v4.4.0。现在,启动 Anaconda Navigator 后,我无法从那里启动 jupyter notebook。

如果我在命令提示符下运行“C:\Anaconda3\Scripts>jupyter notebook”,Chrome 浏览器会打开一个新标签页到“http://localhost:8888/tree?token=62d7eb16e2b7c5a9198ff6a84ec1056a00d60aeb99df55f0”,但内容是

Network Error (dns_unresolved_hostname) 
Your requested host "localhost" could not be resolved by DNS.
For assistance, contact your network support team.

C:\Windows\System32\drivers\etc\ 中的hosts 文件内容为:

127.0.0.1       localhost
127.0.0.1 office.microsoft.com

我该怎么办?似乎是网络或访问权限问题?

【问题讨论】:

    标签: python windows dns


    【解决方案1】:

    实际上只需要在代理设置中勾选“绕过代理服务器获取本地地址”即可。

    【讨论】:

      猜你喜欢
      • 2017-11-13
      • 2018-03-18
      • 2018-07-31
      • 2021-06-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-11-23
      相关资源
      最近更新 更多