pycharm使用远程服务器的jupyter环境

1、确保服务器上安装了jupyter,如果没有,执行下面命令安装

bash 复制代码
pip install jupyter

2、启动jupyter notebook服务

bash 复制代码
jupyter notebook --no-browser --port=8888 --ip=0.0.0.0 --allow-root

表明在服务器的8888 端口上启动 Jupyter Notebook,并允许从任何 IP 地址访问。

3、在 PyCharm 中配置远程解释器

原文链接:https://blog.csdn.net/weixin_41377182/article/details/125462096?spm=1001.2014.3001.5502

4、配置 Jupyter Notebook

服务器执行完第二步骤之后,效果如图,注意token:

Python interpreter我用的服务器中的虚拟环境里面的。

Configured Server为:http://服务器ip:端口号/?token=×××

token为上图中的token

点apply,OK!

相关推荐
暮冬-  Gentle°2 分钟前
用Python制作一个文字冒险游戏
jvm·数据库·python
小小小米粒15 分钟前
[特殊字符] 正常部署 AI + 流式输出(Stream)[特殊字符] 为什么会 CPU 炸了?
开发语言·python
站大爷IP18 分钟前
Python异步编程:asyncio核心用法与避坑指南
python
m0_5879589525 分钟前
游戏与图形界面(GUI)
jvm·数据库·python
不剪发的Tony老师29 分钟前
Spyder:一款面向数据科学的Python集成开发环境
ide·python
翼龙云_cloud38 分钟前
阿里云代理商:阿里云部署 OpenClaw 常见问题排查手册
服务器·人工智能·阿里云·云计算·openclaw
python百炼成钢1 小时前
16_RK3588 Llama-3-8B模型部署
linux·服务器·人工智能·llama
黄昏晓x1 小时前
Linux----线程池
linux·运维·服务器
U盘失踪了1 小时前
termux linux终端模拟器
linux·运维·服务器
众创岛1 小时前
python中enumerate的用法
开发语言·python