上篇回顧:VSCode and NoteBook for JavaScripthtml
安裝Go語言:sudo apt install golanggit
安裝內核的相關依賴包:sudo apt install libzmq3-dev pkg-configgithub
Copy包到本地:go get -u github.com/gopherdata/gophernotesgolang
在NoteBook中建立新的內核文件夾:mkdir -p ~/.local/share/jupyter/kernels/gophernotesbash
複製Go內核相關配置文件:spa
cp ~/go/src/github.com/gopherdata/gophernotes/kernel/* ~/.local/share/jupyter/kernels/gophernotes/.net
這時候NoteBook已經有Go內核的選項了(可是還不能用)code
配置一下環境:echo 'export PATH="/home/用戶名/go/bin:$PATH"' >> ~/.bashrchtm
更新一下環境:source ~/.bashrcblog
運行gophernotes
而後就正常使用了(個別狀況reboot重啓一下就ok了)
若是失敗能夠查看下面內容:
擴展:環境變量執行順序參考