Pycharm中的jupyter显示“{ "cells": [ { "cell_type": "code",”,怎么办

[忙碌中] 2019-09-20 11:17:11
我安装了Pycharm pro(2019.07),也用anaconda安装了python和jupyter。
但是我打开try.ipynb文件,会显示如下(正常应该是[1]cell:_____)。不知哪位大神可以指点一下?
```
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"\n"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.6"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
```
...全文
2740 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
weixin_55205725 2021-04-03
  • 打赏
  • 举报
回复
引用 4 楼 吴豪达 | [忙碌中
的回复:]Hi, I deleted the ".ipyng" in othors and added it in Jupyter Notebook in "Settings | Editor | File Types ". And then I closed the current ".ipynb" file and re-open it, and it worked! Many thanks to you and the support team of Pycharm!
解决了!!!感谢!!! 就是在"Settings | Editor | File Types "下把shell script的filetype里的"*.ipynb"删掉,在Jupyter Notebook这里添加
zhuchuanhan 2019-10-16
  • 打赏
  • 举报
回复
楼主英文太厉害!删除“ipyng”类型文件吗?有这种类型吗?我的".ipynb"类型已经加在Jupyter Notebook中了,还是没有单元格和控制按钮,不知道怎么回事。
[忙碌中] 2019-09-24
  • 打赏
  • 举报
回复 1
Hi, I deleted the ".ipyng" in othors and added it in Jupyter Notebook in "Settings | Editor | File Types ". And then I closed the current ".ipynb" file and re-open it, and it worked! Many thanks to you and the support team of Pycharm!
zhuchuanhan 2019-09-24
  • 打赏
  • 举报
回复 1
我遇到的问题是:打开一个ipynb文件后,也没有显示在浏览器中那样的格式,没有单元格和控制按钮等。
[忙碌中] 2019-09-20
  • 打赏
  • 举报
回复

37,743

社区成员

发帖
与我相关
我的任务
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
  • 脚本语言(Perl/Python)社区
  • WuKongSecurity@BOB
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧