本文共 1278 字,大约阅读时间需要 4 分钟。
ipython profile create
gedit ~/.iphton/ptofile_default/ipython_config.py
修改如下三行:
## Activate greedy completion PENDING DEPRECTION. this is now mostly taken care# of with Jedi.## This will enable completion on elements of lists, results of function calls,# etc., but can be unsafe because the code is actually evaluated on TAB.c.Completer.greedy = True## Experimental: restrict time (in milliseconds) during which Jedi can compute# types. Set to 0 to stop computing types. Non-zero value lower than 100ms may# hurt performance by preventing jedi to build its cache.c.Completer.jedi_compute_type_timeout = 400## Experimental: Use Jedi to generate autocompletions. Off by default.c.Completer.use_jedi = True
安装免tab插件:
pip install jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user
如果jupyter主页中的Nbextensions标签页中没有出现Hinterland选项则:
jupyter contrib nbextension install --user --skip-running-check
再起重启jupyter后勾选Hinterland
配置密码:
jupyter notebook password
修改配置文件:
jupyter notebook --generate-config
gedit ~/.jupyter/jupyter_notebook_config.py
修改下面三项
c.NotebookApp.ip = '*' #允许所有ip访问 补充:报错 No address associated with hostname可设置为:'0.0.0.0'c.NotebookApp.open_browser = False #服务器不打开浏览器c.NotebookApp.port = 8888 #端口为8888
转载地址:http://ybbnn.baihongyu.com/