Vscode配置jupyter

环境
• Win10
• Vscode 1.40.2
• Python 3.8
• pip 19.3.1
• jupyter 6.0.2效果图

install Python&jupyter
windows安装python3.8
windows通过pip安装jupyter
pip install jupyter

jupyter notebook 启动报错
报错asyncioevents.py", line 501, in add_reader

raise NotImplementedError,通过[修改](https://www.yuque.com/bzxr/devops/wihmy0)对应报错路径下文件解决

报错 pywinpty 无法安装,可通过手动安装解决

jupyter notebook list查看启动密码

Vscode安装Python
Vscode配置jupyter

Vscode安装jupyter插件
Vscode配置jupyter

quick start

  • 在vscode中创建下列python文件
import matplotlib.pyplot as plt
import matplotlib as mpl
import numpy as np
x = np.linspace(0, 20, 100)
plt.plot(x, np.sin(x))
plt.show()
  • Click on the code lens Run Cell
    Vscode配置jupyter

官方示例

Vscode配置jupyter

上一篇:阿里云产品脑图之SLB


下一篇:阿里云直播日用量查询指南