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!

相关推荐
张太行_4 小时前
Linux静态库:多模块高效管理
linux·运维·服务器
web3.08889994 小时前
微店商品详情API实用
python·json·时序数据库
知乎的哥廷根数学学派4 小时前
基于数据驱动的自适应正交小波基优化算法(Python)
开发语言·网络·人工智能·pytorch·python·深度学习·算法
sunfove5 小时前
将 Python 仿真工具部署并嵌入个人博客
开发语言·数据库·python
ID_180079054735 小时前
YouTube item_get_video接口认证方式:API密钥与OAuth2.0的选择与应用
服务器·windows·microsoft
Learner5 小时前
Python类
开发语言·python
wgl6665205 小时前
Linux---基础IO!
linux·运维·服务器
2501_941329725 小时前
门及其组件定位识别_YOLO13-C3k2-PoolingFormer改进模型研究
python
Ancelin安心5 小时前
kali-dirsearch的使用
linux·运维·服务器·python·计算机网络·web安全·网络安全
努力学习的小洋5 小时前
Python训练打卡Day5离散特征的处理-独热编码
人工智能·python·机器学习