簡體   English   中英

IPython Notebook中不再支持的配置文件

[英]Profiles Not Supported Anymore in IPython Notebooks

當前版本的IPython筆記本不支持配置文件。 IPython工作得非常好: ipython --profile test 但是ipython notebook --profile test失敗,輸出如下:

Examples
--------

    ipython notebook                       # start the notebook
    ipython notebook --profile=sympy       # use the sympy profile
    ipython notebook --certfile=mycert.pem # use SSL/TLS certificate

[C 14:04:28.232 NotebookApp] Bad config encountered during initialization:
[C 14:04:28.232 NotebookApp] Unrecognized flag: '--profile'

它仍在示例中,但實際上不起作用。 有沒有一種方法可以將配置文件與IPython筆記本一起使用?

以下是我的pip freeze

appnope==0.1.0
backports-abc==0.4
backports.ssl-match-hostname==3.5.0.1
certifi==2015.11.20.1
decorator==4.0.6
functools32==3.2.3.post2
gnureadline==6.3.3
ipykernel==4.2.1
ipython==4.0.1
ipython-genutils==0.1.0
Jinja2==2.8
jsonschema==2.5.1
jupyter-client==4.1.1
jupyter-core==4.0.6
MarkupSafe==0.23
mistune==0.7.1
nbconvert==4.1.0
nbformat==4.0.1
notebook==4.0.6
path.py==8.1.2
pexpect==4.0.1
pickleshare==0.5
ptyprocess==0.5
Pygments==2.0.2
pyzmq==15.1.0
simplegeneric==0.8.1
singledispatch==3.4.0.3
six==1.10.0
terminado==0.5
tornado==4.3
traitlets==4.0.0
wheel==0.24.0

正如@birryree在評論中提到的那樣,IPython 4.0現在是Jupyter。 遷移文檔對我來說還不是很清楚。 因此,最簡單的解決方案是安裝仍支持配置文件的IPython 3:

pip install ipython[notebook]==3.2.3

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM