Portable Development 101 - 005, Go 001 (Go and LiteIDE Installation + Jupyter Kernel)
This is the Part 4 of the tutorial for working on a Portable Development
At this point in time, the latest stable version of Go version is 1.10.2,
LiteIDE version is X33.3
Here is the Go Lang Website
https://golang.org/
Here is the LiteIDE Website
https://github.com/visualfc/liteide
Here's a quick link to do the download
https://dl.google.com/go/go1.10.2.windows-amd64.zip
It is about 138MB in size
Here is the LiteIDE download
https://sourceforge.net/projects/liteide/files/x33.3/liteidex33.3.windows-qt5.6.3.zip/download
It is about 25.8MB in size
After the download, it is a zip file,
so just unzip to a folder next to WinPython.
Add the following to the Windows user environment variable
*********************************************
Path = C:\dev\Go1.10.2-w64\go\bin
*********************************************
This specify the go lang all except data
*********************************************
GoRoot = C:\dev\Go1.10.2-w64\go\
*********************************************
This allow data to go to this directory. So to keep everything portable
*********************************************
GoPath = C:\dev\Go1.10.2-w64\
*********************************************
Source code or Download will still be store in the same directory.
The whole point is that it is cleaner.
That completes the basic installation.
Jupyter Kernel Installation
Next download MingGW Distro
https://nuwen.net/files/mingw/mingw-15.4.exe
It is about 76.4MB in size
Add the following to the Windows user environment variable
*********************************************
Path = C:\dev\MinGW15.4\bin
*********************************************
Open WinPython command prompt
Download Go Kernel
*********************************************
go get -d github.com/gopherdata/gophernotes
cd %GOPATH%\src\github.com\gopherdata\gophernotes\zmq-win
*********************************************
Compile Go Kernel
*********************************************
build.bat amd64
copy gophernotes.exe %GOPATH%\go\bin\
copy lib-amd64\libzmq.dll %GOPATH%\go\bin\
*********************************************
Create Go Kernel Pointer
*********************************************
mkdir C:\dev\WinPython64v365\settings\kernels\gophernotes
xcopy %GOPATH%\src\github.com\gopherdata\gophernotes\kernel C:\dev\WinPython64v365\settings\kernels\gophernotes /s
*********************************************
Modify kernel.json in C:\dev\WinPython64v365\settings\kernels\gophernotes accordingly
********************************************
{
"argv": [
"C:/dev/Go1.10.2-w64/go/bin/gophernotes.exe",
"{connection_file}"
],
"display_name": "Go",
"language": "go",
"name": "go"
}
At this point in time, the latest stable version of Go version is 1.10.2,
LiteIDE version is X33.3
Here is the Go Lang Website
https://golang.org/
Here is the LiteIDE Website
https://github.com/visualfc/liteide
Here's a quick link to do the download
https://dl.google.com/go/go1.10.2.windows-amd64.zip
It is about 138MB in size
Here is the LiteIDE download
https://sourceforge.net/projects/liteide/files/x33.3/liteidex33.3.windows-qt5.6.3.zip/download
It is about 25.8MB in size
After the download, it is a zip file,
so just unzip to a folder next to WinPython.
Add the following to the Windows user environment variable
*********************************************
Path = C:\dev\Go1.10.2-w64\go\bin
*********************************************
This specify the go lang all except data
*********************************************
GoRoot = C:\dev\Go1.10.2-w64\go\
*********************************************
This allow data to go to this directory. So to keep everything portable
*********************************************
GoPath = C:\dev\Go1.10.2-w64\
*********************************************
Source code or Download will still be store in the same directory.
The whole point is that it is cleaner.
That completes the basic installation.
Jupyter Kernel Installation
Next download MingGW Distro
https://nuwen.net/files/mingw/mingw-15.4.exe
It is about 76.4MB in size
Add the following to the Windows user environment variable
*********************************************
Path = C:\dev\MinGW15.4\bin
*********************************************
Open WinPython command prompt
Download Go Kernel
*********************************************
go get -d github.com/gopherdata/gophernotes
cd %GOPATH%\src\github.com\gopherdata\gophernotes\zmq-win
*********************************************
Compile Go Kernel
*********************************************
build.bat amd64
copy gophernotes.exe %GOPATH%\go\bin\
copy lib-amd64\libzmq.dll %GOPATH%\go\bin\
*********************************************
Create Go Kernel Pointer
*********************************************
mkdir C:\dev\WinPython64v365\settings\kernels\gophernotes
xcopy %GOPATH%\src\github.com\gopherdata\gophernotes\kernel C:\dev\WinPython64v365\settings\kernels\gophernotes /s
*********************************************
Modify kernel.json in C:\dev\WinPython64v365\settings\kernels\gophernotes accordingly
********************************************
{
"argv": [
"C:/dev/Go1.10.2-w64/go/bin/gophernotes.exe",
"{connection_file}"
],
"display_name": "Go",
"language": "go",
"name": "go"
}