本文共 1209 字,大约阅读时间需要 4 分钟。
Conda是一个包管理器;Anaconda才是一个python发行版。软件发行版是在系统上提前编译和配置好的软件包集合, 装好了后就可以直接用。包管理器是自动化软件安装,更新,卸载的一种工具。Conda,有命令”conda install”, “conda update”, “conda remove”, 所以很明显, conda是包管理器。conda和Anaconda名字相似,但没有必然关系, 你可以不安装Anaconda的同时, 使用conda安装和管理软件。Conda是一个通用的包管理器,当初设计来管理任何语言的包。所以用来管理python包当然也是绰绰有余。Conda 和 pip 目标并不相同, 只有小部分子集有交集有竞争关系:比如python包的安装和环境隔离。pip可以允许你在任何环境中安装python包,而conda允许你在conda环境中安装任何语言包(包括c语言或者python)。
如果你已经安装了,先执行卸载命令:pip3 uninstall jupyter_contrib_nbextensionspip3 uninstall jupyter_nbextensions_configurator安装nbextensionspip3 install jupyter_contrib_nbextensions安装 javascript and css filesjupyter contrib nbextension install --user 或:jupyter contrib nbextension install --user --skip-running-check安装configuratorpip3 install jupyter_nbextensions_configurator安装成功后在命令行直接输入jupyter notebook 启动Jupyter Notebook 在浏览器访问http://localhost:8888/nbextensions就可以进行配置了常用扩展功能,勾选上即可:最常用功能说明,建议勾选上:Collapsible headings 折叠标题Notify 通知机制,跑一些耗时较久的任务,完成后通知Codefolding 折叠代码Zen mode extension 隐藏活动状态栏,方便注意代码Execute time extension 显示运行的时间tabs of contents markdown 生成目录配置完后在访问 http://localhost:8888/tree? 就会看到Nbextensions标签了
转载地址:http://gneyn.baihongyu.com/