jupyter

jupyter是一个好工具

它有很多个部件组成。主要部件就是jupyterlab + notebook

jupyterlab的github网址:

https://github.com/jupyterlab/jupyterlab

notebook的github网址:

https://github.com/jupyter/notebook

jupyterlab是由typescripts语言编写的,typescripts官网:

http://www.typescriptlang.org/

notebook是由tornado框架编写的,

除了/lab 的URL 是jupyterlab自带的之外,

剩余的URL都是在notebook进行配置的

tornado官网:

http://www.tornadoweb.org/en/stable/  

中文版本(版本比较旧) 

https://tornado-zh.readthedocs.io/zh/latest/

 

jupyter支持c++

插件地址:

https://github.com/root-project/cling

需要解决的两件事情,一个是docker拉取的ubuntu的wget下载,需要去解决证书问题

博主的另外一篇文章写明:

https://www.cnblogs.com/can-H/articles/10212576.html

一个是字符编码问题

apt-get update
apt-get install -y locales
locale-gen "en_US.UTF-8"
update-locale LC_ALL="en_US.UTF-8"

LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8

 

解决了以上的两个问题之后,基本上问题就不大了,无非就是叫你安装openssl等一些软件包的小问题了

安装脚本,复制与官方

wget https://raw.githubusercontent.com/root-project/cling/master/tools/packaging/cpt.py
chmod +x cpt.py
./cpt.py --check-requirements && ./cpt.py --create-dev-env Debug --with-workdir=./cling-build/

  

 

posted @ 2019-01-03 10:05  汉克书  阅读(1044)  评论(0编辑  收藏  举报