Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.16 KB

File metadata and controls

46 lines (32 loc) · 1.16 KB

gopy --- seting up golang and iPython

Installation of golang and Julia packages

  1. Clone gopy to ~/.gopy

  2. Install golang packages:

    sh ~/.gopy/install_go_pkg.sh

    To check golang environment variable: go env

  3. Install Julia packages:

    julia ~/.gopy/install_jl_pkg.jl
    mkdir ~/julia/juliaFunc -p
    cp ~/.gopy/_juliarc.jl ~/.juliarc.jl

    To check all installed Julia package: julia -e 'for i in Pkg.installed() println(i) end'

Setup iPython

Just use the subdir profile_default in ~/.gopy to replace the current ipython configuration (~/.config/ipython/profile_default).

By the way,

  • Run the command of ipython profile create to get an initial default configuration. Then subdir structure of ipython configuration may look like this:
    db/
    log/
    pid/
    security/
    startup/
    static/
    history.sqlite
    ipython_config.py
    ipython_nbconvert_config.py
    ipython_notebook_config.py
    ipython_qtconsole_config.py
  • To run IPython CLI: ipython pylab; to run IPython GUI: ipython notebook --pylab=inline.

That is all, have fun!