Recently learning go, want to knock down go in Jupyter notebook, so Google, there are tutorials,
Https://github.com/gopherdata ...
Start moving bricks ....
$ go get -u github.com/gopherdata/gophernotes$ mkdir -p ~/.local/share/jupyter/kernels/gophernotes$ cp $GOPATH/src/github.com/gopherdata/gophernotes/kernel/* ~/.local/share/jupyter/kernels/gophernotes
The installation is still simple, but there are still some pits.
1.go install and add the Gopath/bin directory to path.
2.jupyter notebook Follow the tutorial to install.
3.zernmQ go to the official website to install Http://zeromq.org/intro:get-the-software
4.pkg-config General Linux comes with, my machine is not installed
Keng:
After you install it, run the following pkg-config--cflags LIBZMQ if you have the following error
Find the file with the command find/-maxdepth 6-name libzmq.pc
In the file directory to write ~/.bash_profile, I have the following
Then the source ~/.bash_profile takes effect, and the Pkg-config--cflags Libzmq succeeds.
Run Gophernotes will appear error while loading shared libraries:libzmq.so.5 errors, ignorant, do not understand, online find the answer, Https://www.cnblogs.com/codin ... Refer to this post.
1. First find the location of libzmq.so.5 with the Find command, the default installation should be under/usr/local/bin
Write the/etc/ld.so.conf file, run/sbin/ldconfig-v I understand the meaning of refreshing the cache
OK, then run the gophernotes on the OK.
Finally, start Jupyter notebook.