col -- master jupyter row blob 启动 提示
操作系统:CentOS6.9_x64
python 版本 : python2.7.13
添加低权限新用户:
- useradd mike su mike
可以参考我之前写的博文: http://www.cnblogs.com/MikeZhang/p/virtualenvPython_20150607.html
启动 virtualenv 环境:
- source py27env / bin / activate
安装 jupyter :
- pip install jupyter
启动 notebook :
- jupyter notebook--no - browser--ip = 0.0.0.0--port 9999
根据控制台提示的 url 进行访问,把 0.0.0.0 换成实际 ip 地址, 示例格式:
http://192.168.1.100:9999/?token=98f049b1dc4a2da69606b5b7e0fe45e0f0bde22e3a155450
好,就这些了,希望对你有帮助。
本文 github 地址:
https://github.com/mike-zhang/mikeBlogEssays/blob/master/2017/20170719_centos6.9 下安装 pythonNotebook.rst
欢迎补充
CentOS6.9 下安装 python notebook
来源: http://www.bubuko.com/infodetail-2217554.html