更新时间:2021-07-24 09:54:02
windows安装python3.8
windows通过pip安装jupyterpip install jupyter
jupyter notebook
启动报错
报错asyncioevents.py", line 501, in add_reader
raise NotImplementedError,通过修改对应报错路径下文件解决
报错 pywinpty 无法安装,可通过手动安装解决
jupyter notebook list
查看启动密码
Vscode安装Python
Vscode安装jupyter插件
#%%
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()
Run Cell
(Ctrl+Shift+P)
Python: Create Blank New Jupyter Notebook 创建notebook编辑面板
Python:Select interpreter 选择虚拟环境