Packages

GEN

To install the Gen package, first open Julia

> julia

Then type the char " ] "

this would allow you to enter in Pkg REPL, and then run:

pkg> add https://github.com/probcomp/Gen

To add another module

Type the following commands.

julia> import Pkg;
julia> Pkg.add("PyPlot")

and then to use the package simple type

using PyPlot

Last updated

Was this helpful?