You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows系统Anaconda中Jupyter Notebook无法正常加载问题求助

Jupyter Notebook 在IE中空白加载的解决办法

问题说明

Windows上安装了Anaconda,目前Jupyter Notebook出现异常:通过conda activate [name_of_the_environment]和jupyter notebook命令能正常启动服务,但用Internet Explorer打开时页面始终空白,无法访问.ipynb文件,该现象与文件大小无关。已排除网络连接问题,更新Anaconda后仍未解决。

解决步骤

  • 更换现代浏览器访问
    Internet Explorer已停止官方维护,Jupyter Notebook的前端代码依赖现代浏览器特性,直接复制终端中显示的Jupyter访问地址(如http://localhost:8888/),改用Chrome、Edge或Firefox打开,基本可解决空白问题。

  • 设置Jupyter默认使用现代浏览器

    1. 在激活目标环境的终端中执行:jupyter notebook --generate-config,生成配置文件
    2. 找到配置文件路径(通常为C:\Users\[你的用户名]\.jupyter\jupyter_notebook_config.py)并打开
    3. 找到c.NotebookApp.browser行,取消注释并设置为常用现代浏览器的路径,例如Chrome的配置:
      import webbrowser
      c.NotebookApp.browser = 'C:/Program Files/Google/Chrome/Application/chrome.exe %s'
      
    4. 保存配置后重启Jupyter Notebook,服务会自动用指定浏览器打开。
  • 检查内核与当前环境的兼容性

    1. 激活环境后执行:jupyter kernelspec list,查看内核对应的Python版本
    2. 若内核版本与当前conda环境不匹配,执行以下命令重新安装内核:
      python -m ipykernel install --user --name [name_of_the_environment] --display-name "Python ([name_of_the_environment])"
      
  • 清理Jupyter缓存文件
    删除C:\Users\[你的用户名]\.jupyter\runtime目录下的临时文件,重启Jupyter Notebook,避免缓存导致的加载异常。

内容的提问来源于stack exchange,提问作者NaCl

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.21 21:39:19