调用ipython profile create后,没有创建ipython_notebook_config.py



我在虚拟环境中安装了全新的ippython,之后我尝试通过:ipython profile create创建配置文件,但是ipython_notebook_config.py没有创建,而ipython_config.pyipython_nbconvert_config.py被创建。

我能做什么来创建这个文件?

原来我忘记安装依赖项到ippython笔记本(我刚刚安装了:pip install ipython)。在您安装ipython[notebook]ipython[all](或只是手动安装笔记本依赖)之后,ipython profile create也将创建笔记本配置文件。

您可以使用以下选项来启动ipython notebook,而不需要ipython_notebook_config.py文件:

IPYTHON_OPTS="notebook --port 8889 
--ip='*' --no-browser" pyspark

或用于HortonWorks HDP

IPYTHON_OPTS="notebook --port 8889 --notebook-dir=u'/usr/hdp/2.3.0.0-2557/spark/'
--ip='*' --no-browser" pyspark

最新更新