jupyter notebook最好的python ide/客户端qtconsole

前提

  • 本文测试环境
  • windows10
  • python3.11

1. jupyter介绍

jupyter notebook采用bs架构,使用jupyter内核,采用socket链接,网页方式交互,融入ipython模式实现自动补全
jupyter 适合python的演示,测试,学习和绘图

1.1 安装

pip install jupyter notebook

1.2 运行

python -m notebook或者python -m jupyter notebook

image
暴露了本地8888端口
image

  • 浏览器访问8888端口
    image
    需要token才能进入
    image

2. qtconsole介绍

qtconsole是一个qt实现的jupyter的客户端,实现和网页的jupyter notebook一样的功能,不过是cs架构,用起来更流畅

2.1 安装

使用qtconsole需要依赖pyqt环境
qtconsole在安装jupyter的时候就已经包括了,不需要重复安装
通过pip show jupyter查看包的详细信息
image

pip install pyqt5 

2.2 安装完成直接运行,

image

posted @ 2023-11-17 15:53  学不会xuebuhui  阅读(179)  评论(0编辑  收藏  举报
Language: javascript