Open the example golang notebook and make a copy of it. Then, run the first cell to install golang, gophernotes. Then refresh and skip the first cell to test golang in later cells.
https://colab.research.google.com/drive/1-6XkA5OhEA6lMW9DvH4_AcXndC7WppJx
See a few examples here, especially Display.ipynb
I get :
Reading package lists... Done
Building dependency tree
Reading state information... Done
libzmq3-dev is already the newest version (4.2.5-1ubuntu0.2).
The following package was automatically installed and is no longer required:
libnvidia-common-430
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
golang-1.10-go golang-1.10-race-detector-runtime golang-1.10-src
golang-race-detector-runtime golang-src
Suggested packages:
bzr mercurial subversion
The following NEW packages will be installed:
golang-1.10-go golang-1.10-race-detector-runtime golang-1.10-src golang-go
golang-race-detector-runtime golang-src
0 upgraded, 6 newly installed, 0 to remove and 25 not upgraded.
Need to get 40.3 MB of archives.
After this operation, 225 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 golang-1.10-src amd64 1.10.4-2ubuntu1
18.04.1 [11.1 MB]18.04.1 [28.6 MB]Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 golang-1.10-go amd64 1.10.4-2ubuntu1
Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 golang-1.10-race-detector-runtime amd64 0.0+svn285455-0ubuntu1 [478 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 golang-src amd64 2:1.10
4ubuntu1 [3,676 B]4ubuntu1 [22.0 kB]Get:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 golang-go amd64 2:1.10
Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 golang-race-detector-runtime amd64 2:1.10
4ubuntu1 [3,456 B]18.04.1_amd64.deb ...Fetched 40.3 MB in 2s (16.5 MB/s)
Selecting previously unselected package golang-1.10-src.
(Reading database ... 134443 files and directories currently installed.)
Preparing to unpack .../0-golang-1.10-src_1.10.4-2ubuntu1
Unpacking golang-1.10-src (1.10.4-2ubuntu1
18.04.1) ...18.04.1_amd64.deb ...Selecting previously unselected package golang-1.10-go.
Preparing to unpack .../1-golang-1.10-go_1.10.4-2ubuntu1
Unpacking golang-1.10-go (1.10.4-2ubuntu1
18.04.1) ...4ubuntu1_amd64.deb ...Selecting previously unselected package golang-1.10-race-detector-runtime.
Preparing to unpack .../2-golang-1.10-race-detector-runtime_0.0+svn285455-0ubuntu1_amd64.deb ...
Unpacking golang-1.10-race-detector-runtime (0.0+svn285455-0ubuntu1) ...
Selecting previously unselected package golang-src.
Preparing to unpack .../3-golang-src_2%3a1.10
Unpacking golang-src (2:1.10
4ubuntu1) ...4ubuntu1_amd64.deb ...Selecting previously unselected package golang-go.
Preparing to unpack .../4-golang-go_2%3a1.10
Unpacking golang-go (2:1.10
4ubuntu1) ...4ubuntu1_amd64.deb ...Selecting previously unselected package golang-race-detector-runtime.
Preparing to unpack .../5-golang-race-detector-runtime_2%3a1.10
Unpacking golang-race-detector-runtime (2:1.10
4ubuntu1) ...4ubuntu1) ...Setting up golang-1.10-race-detector-runtime (0.0+svn285455-0ubuntu1) ...
Setting up golang-race-detector-runtime (2:1.10
Setting up golang-1.10-src (1.10.4-2ubuntu1
18.04.1) ...4ubuntu1) ...Setting up golang-src (2:1.10
Setting up golang-1.10-go (1.10.4-2ubuntu1
18.04.1) ...4ubuntu1) ...Setting up golang-go (2:1.10
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
env: GOPATH=/root/go
github.com/gopherdata/gophernotes
/root/go/src/github.com/gopherdata/gophernotes/compiler_version.go:7:13: cannot use "error: Go >= 1.11 required to compile Gophernotes" (type string) as type int in assignment
cp: cannot stat '/root/go/bin/gophernotes': No such file or directory
is it a fault? what can i do?