jupyter notebook
1.jupyter notebook
1-2.windows
windows上,当使用anaconda环境时候,默认就安装好了。python环境安装
1-2.linux
2.jupyterhub
2-1.组成
JupyterHub有四部分组成
- a Hub (tornado process) that is the heart of JupyterHub
- a configurable http proxy (node-http-proxy) that receives the requests from the client’s browser
- multiple single-user Jupyter notebook servers (Python/IPython/tornado) that are monitored by Spawners
- an authentication class that manages how users can access the system
2-2.部署方式
两种流行的部署方式
- The Littlest JupyterHub
简单部署,适合1-100用户在单机行
- Zero to JupyterHub on Kubernetes
部署在k8s,适合多台机器和用户
3.常见错误
3-1.npmpy错误
错误:
\ProgramData\Anaconda3\lib\importlib_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed,
may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject return f(*args, **kwds)
解决办法:
- 重装numpy,打开指令窗口输入
pip install -U numpy -i https://pypi.tuna.tsinghua.edu.cn/simple/
- 降级版本(先卸载,再安装指定版)
pip uninstall numpy
pip install numpy==1.xx.x -i https://pypi.tuna.tsinghua.edu.cn/simple/
4.链接
转载请注明来源,欢迎指出任何有错误或不够清晰的表达。可以在下面评论区评论,也可以邮件至 157162006@qq.com
文章标题:jupyter notebook
字数:268
本文作者:沐雨云楼
发布时间:2020-06-29, 12:29:36
最后更新:2020-09-12, 21:21:47
原始链接:https://iworkh.gitee.io/blog/2020/06/29/ai-jupyter-notebook/版权声明: "署名-非商用-相同方式共享 4.0" 转载请保留原文链接及作者。