当前位置: 首页 > news >正文

指定位置打开 jupyter notebook

指定位置打开 jupyter notebook

我们在学习当中经常使用 jupyter notebook 练习 Python 代码,但是直接通过双击 jupyter notebook 软件时,是通过默认位置打开的,但是大多数情况下我们想在指定位置打开 jupyter notebook 软件,具体操作如下所示。

  1. 首先通过 win + S 打开搜索框,然后输入 Anaconda Prompt 并选择该 Anacoda 命令行,然后回车。具体操作如下所示。
    在这里插入图片描述

  2. 输入jupyter notebook 文件夹绝对路径
    例如这里我们在 D 盘下打开 jupyter notebook。具体操作如下所示。


(base) C:\Users\KIOXIA>jupyter notebook D:\
[W 2025-10-21 21:00:24.305 LabApp] 'notebook_dir' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2025-10-21 21:00:24.306 LabApp] 'notebook_dir' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[I 2025-10-21 21:00:24.326 LabApp] JupyterLab extension loaded from D:\Anaconda3\lib\site-packages\jupyterlab
[I 2025-10-21 21:00:24.326 LabApp] JupyterLab application directory is D:\Anaconda3\share\jupyter\lab
[I 21:00:24.335 NotebookApp] Serving notebooks from local directory: D:\
[I 21:00:24.335 NotebookApp] Jupyter Notebook 6.4.5 is running at:
[I 21:00:24.335 NotebookApp] http://localhost:8888/?token=a5bb1663d676ed1c5d8d5b89095c8732352dc8196857347b
[I 21:00:24.336 NotebookApp]  or http://127.0.0.1:8888/?token=a5bb1663d676ed1c5d8d5b89095c8732352dc8196857347b
[I 21:00:24.336 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 21:00:24.568 NotebookApp]To access the notebook, open this file in a browser:file:///C:/Users/KIOXIA/AppData/Roaming/jupyter/runtime/nbserver-2748-open.htmlOr copy and paste one of these URLs:http://localhost:8888/?token=a5bb1663d676ed1c5d8d5b89095c8732352dc8196857347bor http://127.0.0.1:8888/?token=a5bb1663d676ed1c5d8d5b89095c8732352dc8196857347b

在这里插入图片描述

在这里插入图片描述

安装 Anacoda3 的具体操作请参考网址:https://blog.csdn.net/2301_77987130/article/details/153276491?spm=1011.2415.3001.5331

http://www.dtcms.com/a/511059.html

相关文章:

  • 设计模式-单例模式:从原理到实战的三种经典实现
  • 深度解析JVM GC调优实践指南
  • 决策规划仿真平台搭建
  • 河北住房城乡建设厅官方网站wordpress改浏览数数据库
  • 正规的金融行业网站开发wordpress如何生成rss
  • 华为网路设备学习-34(BGP协议 九)BGP路由 选路规则二
  • AR巡检系统:工业非计划停机的终结者
  • ECharts地图数据压缩-ZigZag算法
  • 垃圾分类抠像拍照系统-垃圾分类AR互动游戏-体感漫画拍照一体机
  • 2024年ESWA SCI1区TOP,大规模移动用户移动边缘计算中多无人机部署与任务调度的联合优化方法,深度解析+性能实测
  • 磁悬浮轴承非线性控制的挑战与难点剖析
  • 【开题答辩过程】以《自由绘画师管理系统的设计与实现》为例,不会开题答辩的可以进来看看
  • Spring AI与DeepSeek实战:打造企业级智能体
  • MFE: React + Angular 混合demo
  • CR0 控制位解释
  • 半成品网站周村网站制作哪家好
  • 自然语言处理NLP的数据预处理:从原始文本到模型输入(MindSpore版)
  • 清空显存占用
  • UNTER++模型简介
  • PHP Error 处理指南
  • Linux学习笔记(十)--进程替换与创建一个自己的简易版shell
  • go语言实现 基于 Session 和 Redis 实现短信验证码登录
  • 福建网站建设制作阿里巴巴旗下跨境电商平台有哪些
  • 潇洒郎:最佳完美——Windows防火墙与端口管理工具——支持ipv6、ipv4端口转发管理
  • Elastic MCP 服务器:向任何 AI agent 暴露 Agent Builder 工具
  • 小说网站建设详细流程游戏开发有前途吗
  • echarts tooltip数据太长导致显示不全
  • 用户选剧情,AI写故事:Trae Solo+GLM-4.6实现沉浸式小说创作体验
  • 【Linux】初始Linux和Linux下基本指令:ls pwd cd touch mkdir rmdir rm 指令
  • 《Linux系统编程之入门基础》【Linux基础 理论+命令】(下)