如何本地安装chisel bootcamp

chisel bootcamp是一个非常帮的学习chisel的教程,而且可以直接线上编译,方便的一批,但是因为直接线上使用jupyter的话会不停的重新加载,非常麻烦,所以,本地安装就很美滋滋,官方的教程有点问题,做一些更新

linux:

我的环境是Ubuntu16.04,应该关系不大。

首先按照官方教程安装jupyter

Jupyter

First install Jupyter.

Dependencies: openssh-client, openjdk-8-jre, openjdk-8-jdk (-headless OK for both), ca-certificates-java

First, use pip3 to install jupyter (or pip for python 2): http://jupyter.org/install.html

pip3 install --upgrade pip
pip3 install jupyter --ignore-installed

需要先装java8 和pip3之类的,这里有啥问题自行百度即可

然后需要安装almond,大概是让jupyter可以使用scala,

这里要按照almond官网教程安装

$ SCALA_VERSION=2.12.8 ALMOND_VERSION=0.6.0
$ curl -Lo coursier https://git.io/coursier-cli
$ chmod +x coursier
$ ./coursier bootstrap \
    -r jitpack \
    -i user -I user:sh.almond:scala-kernel-api_$SCALA_VERSION:$ALMOND_VERSION \
    sh.almond:scala-kernel_$SCALA_VERSION:$ALMOND_VERSION \
    -o almond
$ ./almond --install

 

你可能感兴趣的:(如何本地安装chisel bootcamp)