解决pip安装Jupyter终端窗口问题

解决pip安装jupyter,运行过程中终端一直存在问题

问题描述

在终端窗口中运行jupyter notebook,不能关闭终端窗口,否则进程将关闭,jupyter无法访问。

python 复制代码
jupyter notebook

解决方法

使用一句代码轻松解决烦恼;

创建Start_jupyter.vbs脚本,将代码内容填入脚本中,双击运行后终端窗口将隐藏在后台运行(非最小化)。

python 复制代码
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run "cmd /c jupyter notebook", 0, False

运行效果无终端窗口,jupyter程序运行正常。

注意:由于白屏无法显示运行了多少个终端窗口jupyter进程,需根据自己的电脑内存运行情况适量开放。

有帮助用请点赞、收藏、关注,一键三连哦!

相关推荐
曲幽3 小时前
数据库实战:FastAPI + SQLAlchemy 2.0 + Alembic 从零搭建,踩坑实录
python·fastapi·web·sqlalchemy·db·asyncio·alembic
用户8356290780518 小时前
Python 实现 PowerPoint 形状动画设置
后端·python
ponponon9 小时前
时代的眼泪,nameko 和 eventlet 停止维护后的项目自救,升级和替代之路
python
Flittly9 小时前
【从零手写 ClaudeCode:learn-claude-code 项目实战笔记】(5)Skills (技能加载)
python·agent
敏编程9 小时前
一天一个Python库:pyarrow - 大规模数据处理的利器
python
Flittly11 小时前
【从零手写 ClaudeCode:learn-claude-code 项目实战笔记】(4)Subagents (子智能体)
python·agent
明月_清风18 小时前
Python 装饰器前传:如果不懂“闭包”,你只是在复刻代码
后端·python
明月_清风18 小时前
打破“死亡环联”:深挖 Python 分代回收与垃圾回收(GC)机制
后端·python
ZhengEnCi1 天前
08c. 检索算法与策略-混合检索
后端·python·算法
明月_清风2 天前
Python 内存手术刀:sys.getrefcount 与引用计数的生死时速
后端·python