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!

相关推荐
原来是猿6 小时前
Linux进程信号详解(二):信号产生
linux·运维·服务器
HAPPY酷7 小时前
Python高级架构师之路——从原理到实战
java·python·算法
n 55!w !1087 小时前
IP-vlan实验报告
服务器·网络·tcp/ip
扑火的小飞蛾8 小时前
Kali Linux 安装 OpenClaw 详细教程
linux·运维·服务器
Thomas.Sir8 小时前
第十三章:RAG知识库开发之【GraphRAG 从基础到实战】
python·ai·rag·graphrag
王琦03188 小时前
第二次作业
linux·运维·服务器
一个处女座的程序猿O(∩_∩)O8 小时前
Python基础知识大全:从零开始掌握Python核心语法
开发语言·python
小陈工8 小时前
Python Web开发入门(十一):RESTful API设计原则与最佳实践——让你的API既优雅又好用
开发语言·前端·人工智能·后端·python·安全·restful
qZ6bgMe438 小时前
记录一次bug:不可见字符/零宽字符
服务器·.net
deephub9 小时前
ADK 多智能体编排:SequentialAgent、ParallelAgent 与 LoopAgent 解析
人工智能·python·大语言模型·agent