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!

相关推荐
人间乄惊鸿客18 分钟前
python — day9
开发语言·python
wanhengidc1 小时前
云手机在网络游戏中的主要功能
运维·服务器·游戏·智能手机
SteveRocket4 小时前
Python机器学习与数据分析教程之pandas
python·机器学习·数据分析
bulucc6 小时前
一个简答的意图识别Agent
python·大模型·agent
Lizhihao_6 小时前
Python如何写Selenium全攻略
开发语言·python
2401_858286117 小时前
OS36.【Linux】简单理解EXT2文件系统(2)
linux·运维·服务器·数据结构·文件系统·ext2
Zach_yuan7 小时前
程序地址空间
android·linux·运维·服务器
梁萌7 小时前
Linux安装BiliNote
linux·运维·服务器·docker·bilinote
Roc-xb7 小时前
解决虚拟机安装的Ubuntu20.04.6 LTS 不能复制粘贴问题
服务器·ubuntu·vmvare