Set up Julia for a novice

There is a way to do what you asked for:

import Pkg
Pkg.activate("project_for_ctkelley_tutorial", shared=true)
for pack in [:FFTW, :SuiteSparse, :PyPlot, :IJulia]
    Pkg.add(string(pack))
    @eval using $pack
end

I took the liberty of adding Pkg.activate("project_for_ctkelley_tutorial", shared=true) so that your users won’t have to deal with a default environment with long precompile times down the line.

4 Likes