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】防火墙常用命令(iptables/firewalld/ufw)
linux·运维·服务器
smile_Iris10 分钟前
Day 34 模块和库的导入
python
写代码的【黑咖啡】15 分钟前
Linux系统简介及常用命令分类详解
linux·运维·服务器
北极糊的狐24 分钟前
报错java: 找不到符号符号: 类 XxxController位置: 程序包 com.ruoyi.xxx.xxx.service
开发语言·windows·python
0思必得039 分钟前
[Web自动化] HTML列表标签
运维·python·自动化·html·web自动化
weixin_4296907240 分钟前
数字人源码部署供应商
人工智能·python
lang2015092844 分钟前
Sentinel限流核心:ThrottlingController设计详解
服务器·网络·sentinel
电饭叔1 小时前
一个构建指定坐标轴在默认点(0,0)的构造方法《python语言程序设计》2018版--第8章17题第2部分
开发语言·笔记·python
qq_251533591 小时前
Python 查找元组中列表的数量
开发语言·python
计算机学姐1 小时前
基于Python的在线考试系统【2026最新】
开发语言·vue.js·后端·python·mysql·django·flask