使用Jupyter notebook,为什么按下ctrl+enter后,没有输出,也没有报错,而是一直出现“*”呢?

使用Jupyter notebook,为什么按下ctrl+enter后,没有输出,也没有报错,就出现“*”呢?学习爬虫的时候遇到了这种情况。

使用Jupyter notebook,为什么按下ctrl+enter后,没有输出,也没有报错,而是一直出现“*”呢?

我使用的是python3.0,在网上查了资料,有的说是因为没有装好jupyter的缘故,或者是应该按下运行键等等。

安装jupyter,我是在命令窗口中进行“pip  install  jupyter”操作安装的,所以jupyter应该是没问题的。

后来花了不少时间,终于找到了问题,jupyter是装好了,但问题是,jupyter notebook没有安装好,而之前我一直以为这两个东西是一样的。所以我继续在窗口中输入命令: “pip install jupyter notebook”,然后就OK了!