2023-08-16
阅读量:
2694
使用pycharm 编辑ipynb文件
一、打开pycharm的设置,选择plugins,找到中文插件,安装完成后重启pycharm
二、打开pycharm的设置,选择项目→python解释器,将其修改为anaconda的python,没有的话可以添加解释器,选择conda环境进行添加。
三、配置jupyter
语言和框架→jupyter→jupyter服务器 进行如图所示操作
四、在项目中,右键选择新建jupyter notebook 文件,在文件中输入代码,测试一下能否运行。
五、不能运行的解决步骤,
5.1,在终端输入jupyter notebook password,设置密码。再重新测试是否能运行。
5.2,修改 语言和框架→jupyter→jupyter服务器,选择配置的服务器,一般为http://localhost:8888/ ,可以查看浏览器上方的jupyter notebook地址。(如果没有设置jupyter的密码,还需要在后面填入token)
本软件为pycharm专业版, pycharm社区版没有jupyter notebook选项






评论(0)


暂无数据
推荐帖子
0条评论
0条评论
0条评论